errors
Class BadWidgetTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by errors.GUIFileException
              extended by errors.BadWidgetTypeException
All Implemented Interfaces:
Serializable

public class BadWidgetTypeException
extends GUIFileException

Checked exception thrown when a .gui file declares a widget of an unknown type or an abstract widget type (which is not a user-visible feature).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class errors.GUIFileException
lineNum
 
Constructor Summary
BadWidgetTypeException(String msg, Widget widget)
           
BadWidgetTypeException(Widget widget)
           
 
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
 

Constructor Detail

BadWidgetTypeException

public BadWidgetTypeException(Widget widget)
Parameters:
widget - The widget in violation.

BadWidgetTypeException

public BadWidgetTypeException(String msg,
                              Widget widget)
Parameters:
msg - An explanatory error message.
widget - The widget in violation.