From: Ritu S. <sf...@us...> - 2005-08-22 08:51:40
|
Update of /cvsroot/smartfrog/core/smartfrog/src/org/smartfrog/sfcore/common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23943/smartfrog/src/org/smartfrog/sfcore/common Modified Files: OptionSet.java Log Message: Added the forwarded exception message to be printed along with the usage message. Index: OptionSet.java =================================================================== RCS file: /cvsroot/smartfrog/core/smartfrog/src/org/smartfrog/sfcore/common/OptionSet.java,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** OptionSet.java 11 Aug 2005 01:18:30 -0000 1.18 --- OptionSet.java 22 Aug 2005 08:51:33 -0000 1.19 *************** *** 172,176 **** //protects from dodgy shell scripts if (!(e instanceof java.lang.ArrayIndexOutOfBoundsException)){ ! errorString = "illegal format for options "; } //Logger.logQuietly(e); --- 172,177 ---- //protects from dodgy shell scripts if (!(e instanceof java.lang.ArrayIndexOutOfBoundsException)){ ! errorString = "illegal format for options \n"; ! errorString += e.getMessage() + "\n"; } //Logger.logQuietly(e); |