dasher
Class NodeCannotBeDrawnException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by dasher.NodeCannotBeDrawnException
All Implemented Interfaces:
java.io.Serializable

 class NodeCannotBeDrawnException
extends java.lang.Exception

Exception to be raised to signal that a given Node was not drawable.


Field Summary
protected  CDasherNode WhichNode
          The Node which could not be drawn
 
Constructor Summary
NodeCannotBeDrawnException()
          Default constructor; creates the exception but does not store a Node.
NodeCannotBeDrawnException(CDasherNode thenode)
          Creates a new exception with a reference to the Node which could not be drawn.
 
Method Summary
 CDasherNode GetNode()
          Retrieves the Node which couldn't be drawn.
 
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

WhichNode

protected CDasherNode WhichNode
The Node which could not be drawn

Constructor Detail

NodeCannotBeDrawnException

public NodeCannotBeDrawnException()
Default constructor; creates the exception but does not store a Node.


NodeCannotBeDrawnException

public NodeCannotBeDrawnException(CDasherNode thenode)
Creates a new exception with a reference to the Node which could not be drawn.

Parameters:
thenode - Problem Node.
Method Detail

GetNode

public CDasherNode GetNode()
Retrieves the Node which couldn't be drawn.

Returns:
Reference to undrawable Node.