errors
Class DuplicateIdentifierException

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

public class DuplicateIdentifierException
extends GUIFileException

A second declaration for the same identifier for different widgets.

See Also:
Serialized Form

Field Summary
 Widget dupe
          The new widget, declared with the same identifier.
 Widget original
          The widget that was first declared with the identifier.
 
Fields inherited from class errors.GUIFileException
lineNum
 
Constructor Summary
DuplicateIdentifierException(Widget original, Widget dupe)
           
 
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

original

public final Widget original
The widget that was first declared with the identifier.


dupe

public final Widget dupe
The new widget, declared with the same identifier.

Constructor Detail

DuplicateIdentifierException

public DuplicateIdentifierException(Widget original,
                                    Widget dupe)
Parameters:
original - The original widget.
dupe - The new widget.