errors
Class BadOptionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by errors.GUIFileException
              extended by 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.
 
Constructor Summary
BadOptionException(String msg, int lineNum, String name)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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.

Constructor Detail

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.