|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.jplate.JPlateException
org.jplate.foundation.FoundationException
org.jplate.foundation.node.NodeException
public class NodeException
This is the base class of all node exceptions.
Modifications: $Date: 2008-12-02 12:32:45 -0500 (Tue, 02 Dec 2008) $ $Revision: 479 $ $Author: sfloess $ $HeadURL: https://jplate.svn.sourceforge.net/svnroot/jplate/trunk/src/dev/java/org/jplate/foundation/node/NodeException.java $
Field Summary | |
---|---|
private NodeIfc |
_node
The node that caused self to be raised. |
Constructor Summary | |
---|---|
protected |
NodeException()
Default constructor not allowed. |
|
NodeException(NodeIfc node)
This constructor sets the node that caused self to be raised. |
|
NodeException(java.lang.String msg,
NodeIfc node)
This constructor sets the message and the node that caused self to be raised. |
|
NodeException(java.lang.String msg,
java.lang.Throwable rootCause,
NodeIfc node)
This constructor sets the message and root cause. |
|
NodeException(java.lang.Throwable rootCause,
NodeIfc node)
This constructor sets the root cause and the node that caused self to be raised. |
Method Summary | |
---|---|
NodeIfc |
getNode()
This method will return the node that caused self to be raised. |
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 |
---|
private final NodeIfc _node
Constructor Detail |
---|
protected NodeException()
java.lang.UnsupportedOperationException
- If this constructor is called.public NodeException(NodeIfc node)
node
- The node that caused self to be raised.public NodeException(java.lang.String msg, NodeIfc node)
msg
- A message about why self was raised.node
- The node that caused self to be raised.public NodeException(java.lang.Throwable rootCause, NodeIfc node)
rootCause
- The exception that caused self to be raised.node
- The node that caused self to be raised.public NodeException(java.lang.String msg, java.lang.Throwable rootCause, NodeIfc node)
msg
- A message about why self was raised.rootCause
- The exception that caused self to be raised.node
- The node that caused self to be raised.Method Detail |
---|
public NodeIfc getNode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |