JAL-1620 version bump and release notes
[jalview.git] / src / jalview / ws / dbsources / das / datamodel / JalviewSource.java
index bb3d4c2..f8efb49 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2b1)
  * Copyright (C) 2014 The Jalview Authors
  * 
  * This file is part of Jalview.
@@ -37,6 +37,7 @@ import org.biodas.jdas.schema.sources.PROP;
 import org.biodas.jdas.schema.sources.SOURCE;
 import org.biodas.jdas.schema.sources.VERSION;
 
+import jalview.util.MessageManager;
 import jalview.ws.dbsources.das.api.jalviewSourceI;
 import jalview.ws.seqfetcher.DbSourceProxy;
 
@@ -346,7 +347,7 @@ public class JalviewSource implements jalviewSourceI
         int p = cap.getQueryUri().lastIndexOf(capname);
         if (p < -1)
         {
-          throw new Exception("Invalid das source: " + source.getUri());
+          throw new Exception(MessageManager.formatMessage("exception.invalid_das_source", new String[]{source.getUri()}));
         }
         if (cap.getQueryUri().charAt(p) == '/')
         {
@@ -373,7 +374,8 @@ public class JalviewSource implements jalviewSourceI
   @Override
   public boolean isReferenceSource()
   {
-    // TODO check source object for indication that we are the primary for a DAS coordinate system
+    // TODO check source object for indication that we are the primary for a DAS
+    // coordinate system
     return false;
   }
 }