[MOBY-guts] biomoby commit
Paul Gordon
gordonp at dev.open-bio.org
Wed Jan 9 20:25:36 UTC 2008
gordonp
Wed Jan 9 15:25:36 EST 2008
Update of /home/repository/moby/moby-live/Java/src/Clients
In directory dev.open-bio.org:/tmp/cvs-serv16638/src/Clients
Modified Files:
MobyPinger.java
Log Message:
Better invalid service handling
moby-live/Java/src/Clients MobyPinger.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/Clients/MobyPinger.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/Clients/MobyPinger.java 2008/01/09 20:19:07 1.1
+++ /home/repository/moby/moby-live/Java/src/Clients/MobyPinger.java 2008/01/09 20:25:36 1.2
@@ -31,8 +31,9 @@
// Make sure we have a service to run for this input
if(validServices == null || validServices.length == 0){
- System.err.println("Could not find a valid services with name "+
+ System.err.println("Could not find a valid service with name "+
args[0] + " and provider " + args[1]);
+ System.exit(1);
}
else{
System.out.println("Found a services");
More information about the MOBY-guts
mailing list