bpiwowar.argparser
Class StringScanException
java.lang.Object
java.lang.Throwable
java.lang.Exception
bpiwowar.argparser.ArgParserException
bpiwowar.argparser.StringScanException
- All Implemented Interfaces:
- Serializable
public class StringScanException
- extends ArgParserException
Exception class used by StringScanner
when command line
arguments do not parse correctly.
- Author:
- John E. Lloyd, Winter 2001
- See Also:
StringScanner
,
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
StringScanException
public StringScanException()
StringScanException
public StringScanException(String message,
Throwable cause)
StringScanException
public StringScanException(Throwable cause)
StringScanException
public StringScanException(String format,
Object... args)
StringScanException
public StringScanException(String format,
Throwable cause,
Object... args)
StringScanException
public StringScanException(String msg)
- Creates a new StringScanException with the given message.
- Parameters:
msg
- Error message- See Also:
StringScanner
StringScanException
public StringScanException(int idx,
String msg)
getFailIndex
public int getFailIndex()
Copyright © 2013. All Rights Reserved.