diff options
Diffstat (limited to 'pki/base/silent/src/com/netscape/pkisilent/argparser/StringScanException.java')
-rw-r--r-- | pki/base/silent/src/com/netscape/pkisilent/argparser/StringScanException.java | 54 |
1 files changed, 28 insertions, 26 deletions
diff --git a/pki/base/silent/src/com/netscape/pkisilent/argparser/StringScanException.java b/pki/base/silent/src/com/netscape/pkisilent/argparser/StringScanException.java index 9d942f0df..4b71a0f21 100644 --- a/pki/base/silent/src/com/netscape/pkisilent/argparser/StringScanException.java +++ b/pki/base/silent/src/com/netscape/pkisilent/argparser/StringScanException.java @@ -1,5 +1,4 @@ package com.netscape.pkisilent.argparser; - // --- BEGIN COPYRIGHT BLOCK --- // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -20,37 +19,40 @@ package com.netscape.pkisilent.argparser; import java.io.IOException; -/** - * Exception class used by <code>StringScanner</code> when command line - * arguments do not parse correctly. - * - * @author John E. Lloyd, Winter 2001 - * @see StringScanner - */ -class StringScanException extends IOException { - /** +/** + * Exception class used by <code>StringScanner</code> when + * command line arguments do not parse correctly. + * + * @author John E. Lloyd, Winter 2001 + * @see StringScanner + */ +class StringScanException extends IOException +{ + /** * */ private static final long serialVersionUID = 4923445904507805754L; int failIdx; - /** - * Creates a new StringScanException with the given message. - * - * @param msg Error message - * @see StringScanner - */ + /** + * Creates a new StringScanException with the given message. + * + * @param msg Error message + * @see StringScanner + */ - public StringScanException(String msg) { - super(msg); - } + public StringScanException (String msg) + { super (msg); + } - public StringScanException(int idx, String msg) { - super(msg); - failIdx = idx; - } + public StringScanException (int idx, String msg) + { + super (msg); + failIdx = idx; + } - public int getFailIndex() { - return failIdx; - } + public int getFailIndex() + { + return failIdx; + } } |