org.sape.carbon.core.config.node
Class NodeRemovalException

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
                                |
                                +--org.sape.carbon.core.config.node.NodeRemovalException
All Implemented Interfaces:
Exceptionable, Serializable

public class NodeRemovalException
extends NodeException

Thrown when a Node could not be removed. Copyright 2002 Sapient

Since:
carbon 1.0
Version:
$Revision: 1.12 $($Author: dvoet $ / $Date: 2003/05/05 21:21:18 $)
Author:
Douglas Voet, February 2002
See Also:
Serialized Form

Field Summary
protected  Node node
          The node object that could not be removed.
 
Fields inherited from class org.sape.carbon.core.config.node.NodeException
nodeName
 
Fields inherited from class org.sape.carbon.core.exception.BaseException
delegatedException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
NodeRemovalException(Class sourceClass, Node node, String reason)
          Creates a NodeRemovalException
NodeRemovalException(Class sourceClass, Node node, Throwable previousException)
          Creates a NodeRemovalException
 
Method Summary
 Node getNode()
          Retrieves the node that could not be removed.
 
Methods inherited from class org.sape.carbon.core.config.node.NodeException
getNodeName
 
Methods inherited from class org.sape.carbon.core.config.ConfigurationException
getSeverity
 
Methods inherited from class org.sape.carbon.core.exception.BaseException
getCause, getExceptionSource, getMessage, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

node

protected Node node
The node object that could not be removed.

Constructor Detail

NodeRemovalException

public NodeRemovalException(Class sourceClass,
                            Node node,
                            Throwable previousException)
Creates a NodeRemovalException

Parameters:
sourceClass - the class in which this exception was caused.
node - the node object that could not be removed.
previousException - the exception that may have caused this failure.

NodeRemovalException

public NodeRemovalException(Class sourceClass,
                            Node node,
                            String reason)
Creates a NodeRemovalException

Parameters:
sourceClass - the class in which this exception was caused.
node - the node object that could not be removed.
Method Detail

getNode

public Node getNode()
Retrieves the node that could not be removed.

Returns:
the node that could not be removed.


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.