consciouscode.seedling
Class NodeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
consciouscode.seedling.SeedlingException
consciouscode.seedling.NodeException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- WrongNodeTypeException
public class NodeException
- extends SeedlingException
Indicates a problem with a specific node in the Seedling container.
- See Also:
- Serialized Form
NodeException
public NodeException(NodeReference reference,
String reason,
Throwable cause)
- Parameters:
reference
- a reference to the problematic node. Must not be null.reason
- an explanation of the problem. May be null.cause
- the exception that caused the problem. May be null.
NodeException
public NodeException(NodeReference reference,
String reason)
- Parameters:
reference
- a reference to the problematic node. Must not be null.reason
- an explanation of the problem. May be null.
NodeException
public NodeException(NodeReference reference,
Throwable cause)
- Parameters:
reference
- a reference to the problematic node. Must not be null.cause
- the exception that caused the problem. May be null.
NodeException
public NodeException(NodeReference reference)
- Parameters:
reference
- a reference to the problematic node. Must not be null.
getReference
public NodeReference getReference()
- Gets a reference to the node that caused this exception.
- Returns:
- the referenced node; not null.
Copyright © 2001–2012
Todd V. Jonker. All Rights Reserved.