Author: kono
Date: 2012-04-17 13:26:11 -0700 (Tue, 17 Apr 2012)
New Revision: 28858
Modified:
core3/api/trunk/webservice-api/src/main/java/org/cytoscape/io/webservice/client/AbstractWebServiceClient.java
Log:
refs #864 fixed warnings from findbugs.
Modified:
core3/api/trunk/webservice-api/src/main/java/org/cytoscape/io/webservice/client/AbstractWebServiceClient.java
===================================================================
---
core3/api/trunk/webservice-api/src/main/java/org/cytoscape/io/webservice/client/AbstractWebServiceClient.java
2012-04-17 20:22:26 UTC (rev 28857)
+++
core3/api/trunk/webservice-api/src/main/java/org/cytoscape/io/webservice/client/AbstractWebServiceClient.java
2012-04-17 20:26:11 UTC (rev 28858)
@@ -61,12 +61,10 @@
* Service Location.
*/
public AbstractWebServiceClient(final String uri, final String
displayName, final String description) {
-
- // Create URI
try {
this.serviceURI = new URI(uri);
} catch (URISyntaxException e) {
- throw new IllegalArgumentException("URI string is
invalid.");
+ throw new IllegalArgumentException("Given URI String is
invalid: " + uri, e);
}
this.displayName = displayName;
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.