Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package bpiwowar.argparser;
 
Exception class used by StringScanner when command line arguments do not parse correctly.

Author(s):
John E. Lloyd, Winter 2001
See also:
StringScanner
public class StringScanException extends ArgParserException {
	private static final long serialVersionUID = 1L;
	int failIdx;
	public StringScanException() {
		super();
	}
	public StringScanException(String messageThrowable cause) {
		super(messagecause);
	}
	public StringScanException(Throwable cause) {
		super(cause);
	}
	public StringScanException(String formatObject... args) {
		super(String.format(formatargs));
	}
	public StringScanException(String formatThrowable causeObject... args) {
		super(String.format(formatargs), cause);
	}

Creates a new StringScanException with the given message.

Parameters:
msg Error message
See also:
StringScanner
	public StringScanException(String msg) {
		super(msg);
	}
	public StringScanException(int idxString msg) {
		super(msg);
		 = idx;
	}
	public int getFailIndex() {
		return ;
	}
New to GrepCode? Check out our FAQ X