simple.xml.stream
Class NodeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by simple.xml.stream.NodeException
All Implemented Interfaces:
java.io.Serializable

public class NodeException
extends java.lang.Exception

The NodeException is thrown to indicate the state of either the input node or output node being invalid. All messages provided to this exception are formatted in a similar manner to the PrintStream.printf method.

Author:
Niall Gallagher
See Also:
Serialized Form

Constructor Summary
NodeException(java.lang.String text)
          Constructor for the NodeException object.
 
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

NodeException

public NodeException(java.lang.String text)
Constructor for the NodeException object. This is given the message to be reported when the exception is thrown.

Parameters:
text - a format string used to present the error message