Merge branch 'Release_2_8_2_Branch_i18n' into Release_2_8_2_Branch
[jalview.git] / src / jalview / ws / jws2 / ParameterUtils.java
index e2bfbbd..8916be9 100644 (file)
@@ -20,6 +20,8 @@
  */
 package jalview.ws.jws2;
 
+import jalview.util.MessageManager;
+
 import java.net.MalformedURLException;
 import java.util.ArrayList;
 import java.util.HashSet;
@@ -181,8 +183,7 @@ public class ParameterUtils
     } catch (Exception e)
     {
       e.printStackTrace();
-      throw new Error(
-              "Implementation error: could not copy ValueConstrain!");
+      throw new Error(MessageManager.getString("error.implementation_error_couldnt_copy_value_constraint"));
     }
   }