errors
Class BadAttributeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
errors.GUIFileException
errors.BadAttributeException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- BadAttributeNameException, BadAttributeValueException
public abstract class BadAttributeException
- extends GUIFileException
Abstract superclass for errors caused by attributes.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
widget
public final Widget widget
- The widget whose attribute caused the error.
attrName
public final String attrName
- The name of the erroneous attribute.
BadAttributeException
public BadAttributeException(String msg,
Widget widget,
String attrName)
- Parameters:
msg - The error message. (Should be computed by the subclass.)widget - The widget whose attribute caused the error.attrName - The name of the erroneous attribute.