errors
Class BadAttributeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by errors.GUIFileException
              extended by 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

Field Summary
 String attrName
          The name of the erroneous attribute.
 Widget widget
          The widget whose attribute caused the error.
 
Fields inherited from class errors.GUIFileException
lineNum
 
Constructor Summary
BadAttributeException(String msg, Widget widget, String attrName)
           
 
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

widget

public final Widget widget
The widget whose attribute caused the error.


attrName

public final String attrName
The name of the erroneous attribute.

Constructor Detail

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.