org.sape.carbon.core.config.node
Class NodeException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.sape.carbon.core.exception.BaseException
|
+--org.sape.carbon.core.config.ConfigurationException
|
+--org.sape.carbon.core.config.node.NodeException
- All Implemented Interfaces:
- Exceptionable, Serializable
- Direct Known Subclasses:
- NodeCreationException, NodeIOException, NodeNotFoundException, NodeRemovalException
- public abstract class NodeException
- extends ConfigurationException
Base exception for all exceptions in the node package.
Copyright 2002 Sapient
- Since:
- carbon 1.0
- Version:
- $Revision: 1.11 $($Author: dvoet $ / $Date: 2003/05/05 21:21:18 $)
- Author:
- Douglas Voet, February 2002
- See Also:
- Serialized Form
Field Summary |
protected String |
nodeName
The name of the node on which the exception occured. |
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Method Summary |
String |
getNodeName()
Retrieves the name of the node on which the exception occurred. |
nodeName
protected String nodeName
- The name of the node on which the exception occured.
NodeException
public NodeException(Class sourceClass,
String nodeName,
String message,
Throwable previousException)
- Constructs the base NodeException.
- Parameters:
sourceClass
- the class in which this exception was caused.nodeName
- the name of the configuration node to which this
failure is related.message
- the message describing the failure and how to fix it.previousException
- the exception that may have caused this
failure.
NodeException
public NodeException(Class sourceClass,
String nodeName,
String message)
- Constructs the base NodeException.
- Parameters:
sourceClass
- the class in which this exception was caused.nodeName
- the name of the configuration node to which this
failure is related.message
- the message describing the failure and how to fix it.
getNodeName
public String getNodeName()
- Retrieves the name of the node on which the exception occurred.
- Returns:
- the name of the node on which the exception occured.
- Since:
- carbon 2.0
Copyright 1999-2003 Sapient Corporation. All Rights Reserved.