JAL-1355
[jalview.git] / src / jalview / structure / StructureSelectionManager.java
index c0c559a..73a5905 100644 (file)
@@ -28,6 +28,7 @@ import jalview.analysis.*;
 import jalview.api.AlignmentViewPanel;
 import jalview.api.StructureSelectionManagerProvider;
 import jalview.datamodel.*;
+import jalview.util.MessageManager;
 
 public class StructureSelectionManager
 {
@@ -68,9 +69,8 @@ public class StructureSelectionManager
       {
         if (instances != null)
         {
-          throw new Error(
-                  "Implementation error. Structure selection manager's context is 'null'",
-                  new NullPointerException("SSM context is null"));
+          throw new Error(MessageManager.getString("error.implementation_error_structure_selection_manager_null"),
+                  new NullPointerException(MessageManager.getString("exception.ssm_context_is_null")));
         }
         else
         {