errors
Class BadAttributeValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
errors.GUIFileException
errors.BadAttributeException
errors.BadAttributeValueException
- All Implemented Interfaces:
- Serializable
public class BadAttributeValueException
- extends BadAttributeException
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
|
Constructor Summary |
BadAttributeValueException(String msg,
Widget widget,
String attrName,
Collection<String> attrValues)
|
BadAttributeValueException(String msg,
Widget widget,
String attrName,
String attrValue)
|
BadAttributeValueException(Widget widget,
String attrName,
Collection<String> attrValues)
|
BadAttributeValueException(Widget widget,
String attrName,
String attrValue)
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
attrValue
public final String attrValue
- The value of the attribute.
BadAttributeValueException
public BadAttributeValueException(Widget widget,
String attrName,
String attrValue)
- Parameters:
widget - The widget with the invalid attribute.attrName - The name of the invalid attribute.attrValue - The invalid value in question.
BadAttributeValueException
public BadAttributeValueException(String msg,
Widget widget,
String attrName,
String attrValue)
- Parameters:
msg - The details to be appended to the error message.widget - The widget with the invalid attribute.attrName - The name of the invalid attribute.attrValue - The invalid value in question.
BadAttributeValueException
public BadAttributeValueException(Widget widget,
String attrName,
Collection<String> attrValues)
- Parameters:
widget - The widget with the invalid attribute.attrName - The name of the invalid attribute.attrValues - The whole list of values of the attribute.
BadAttributeValueException
public BadAttributeValueException(String msg,
Widget widget,
String attrName,
Collection<String> attrValues)
- Parameters:
msg - The details to be appended to the error message.widget - The widget with the invalid attribute.attrName - The name of the invalid attribute.attrValues - The whole list of values of the attribute.