X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fdbsources%2Fdas%2Fdatamodel%2FJalviewSource.java;h=c994fd5fd34f3f09e30d8c523c817ccd3346c30b;hb=aced09c4feeaf3406269442c14e54abeeb4cad81;hp=d260b9e7ed683c0053c6faffa830d4b8026d985a;hpb=5d32c7ad007e098894b332b6fca61e1824972c50;p=jalview.git diff --git a/src/jalview/ws/dbsources/das/datamodel/JalviewSource.java b/src/jalview/ws/dbsources/das/datamodel/JalviewSource.java index d260b9e..c994fd5 100644 --- a/src/jalview/ws/dbsources/das/datamodel/JalviewSource.java +++ b/src/jalview/ws/dbsources/das/datamodel/JalviewSource.java @@ -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) == '/') {