JAL-1925 update source version in license
[jalview.git] / src / jalview / ws / jws2 / dm / JabaValueConstrain.java
index f57abde..919730f 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
- * Copyright (C) 2014 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2)
+ * Copyright (C) 2015 The Jalview Authors
  * 
  * This file is part of Jalview.
  * 
  */
 package jalview.ws.jws2.dm;
 
-import compbio.metadata.ValueConstrain;
-
+import jalview.util.MessageManager;
 import jalview.ws.params.ValueConstrainI;
 
+import compbio.metadata.ValueConstrain;
+
 public class JabaValueConstrain implements ValueConstrainI
 {
 
@@ -46,8 +47,10 @@ public class JabaValueConstrain implements ValueConstrainI
       return ValueType.Integer;
     }
     throw new Error(
-            "IMPLEMENTATION ERROR: jalview.ws.params.ValueConstrainI.ValueType does not support the JABAWS type :"
-                    + vc.toString());
+            MessageManager
+                    .formatMessage(
+                            "error.implementation_error_valuetype_doesnt_support_jabaws_type",
+                            new String[] { vc.toString() }));
   }
 
   @Override