@@ -940,8+940,7 @@ public class FeatureRenderer implements jalview.api.FeatureRenderer
return ((GraduatedColor) fc).getMaxColor();
}
}
return ((GraduatedColor) fc).getMaxColor();
}
}
- throw new Error("Implementation Error: Unrecognised render object "
- + fc.getClass() + " for features of type " + featureType);
+ throw new Error(MessageManager.formatMessage("error.implementation_error_unrecognised_render_object_for_features_type", new String[]{fc.getClass().toString(),featureType}));
}
/**
}
/**
@@ -965,8+964,7 @@ public class FeatureRenderer implements jalview.api.FeatureRenderer
return ((GraduatedColor) fc).findColor(feature);
}
}
return ((GraduatedColor) fc).findColor(feature);
}
}
- throw new Error("Implementation Error: Unrecognised render object "
- + fc.getClass() + " for features of type " + feature.getType());
+ throw new Error(MessageManager.formatMessage("error.implementation_error_unrecognised_render_object_for_features_type", new String[]{fc.getClass().toString(),feature.getType()}));