errors
Class BadOptionValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
errors.GUIFileException
errors.BadOptionException
errors.BadOptionValueException
- All Implemented Interfaces:
- Serializable
public class BadOptionValueException
- extends BadOptionException
An invalid attribute value.
This will likely be thrown only by library code. As such, it permits an
extra error message to be passed along, which is expected to describe the
problem - for example, it might be "width must be an integer".
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
value
public final String value
- The value of the option.
BadOptionValueException
public BadOptionValueException(int lineNum,
String name,
String value)
- Parameters:
lineNum
- The widget with the invalid attribute.name
- The name of the invalid attribute.value
- The invalid value in question.
BadOptionValueException
public BadOptionValueException(String msg,
int lineNum,
String name,
String value)
- Parameters:
msg
- The details to be appended to the error message.lineNum
- The widget with the invalid attribute.name
- The name of the invalid attribute.value
- The invalid value in question.