JAL-1355
[jalview.git] / src / jalview / ws / jws2 / Jws2Client.java
index b2b676f..4f6e8f6 100644 (file)
@@ -77,8 +77,7 @@ public abstract class Jws2Client extends jalview.ws.WSClient
          * arguments. for (Argument opt : arguments) { newargs.add(opt); } }
          * paramset = newargs; } else {
          */
-        throw new Error(
-                "Implementation error: Can only instantiate Jaba parameter sets.");
+        throw new Error(MessageManager.getString("error.implementation_error_can_only_instantiate_jaba_param_sets"));
       }
     }
     else
@@ -410,7 +409,7 @@ public abstract class Jws2Client extends jalview.ws.WSClient
     {
       // TODO raise dialog box explaining error, and/or open the JABA
       // preferences menu.
-      throw new Error("No AACon service found.");
+      throw new Error(MessageManager.getString("error.no_aacon_service_found"));
     }
     return new AAConSettings(true, service, null, null);
   }