errors
Class BadOptionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
errors.GUIFileException
errors.BadOptionException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- BadOptionNameException, BadOptionValueException
public abstract class BadOptionException
- extends GUIFileException
Abstract superclass for errors caused by options.
- See Also:
- Serialized Form
|
Field Summary |
int |
lineNum
The line number on which the option was declared. |
String |
name
The name of the erroneous option. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
lineNum
public final int lineNum
- The line number on which the option was declared.
name
public final String name
- The name of the erroneous option.
BadOptionException
public BadOptionException(String msg,
int lineNum,
String name)
- Parameters:
msg - The error message. (Should be computed by the subclass.)lineNum - The line number of the error.name - The name of the erroneous option.