ModeShape Distribution 3.0.0.Beta4

org.modeshape.jcr.cache
Class NodeNotFoundInParentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.modeshape.jcr.cache.DocumentNotFoundException
                  extended by org.modeshape.jcr.cache.NodeNotFoundException
                      extended by org.modeshape.jcr.cache.NodeNotFoundInParentException
All Implemented Interfaces:
Serializable

public class NodeNotFoundInParentException
extends NodeNotFoundException

An exception signalling that a node does not exist in the specified parent.

See Also:
Serialized Form

Constructor Summary
NodeNotFoundInParentException(NodeKey key, NodeKey parentKey)
           
 
Method Summary
 NodeKey getParentKey()
          Get the key for the parent node.
 
Methods inherited from class org.modeshape.jcr.cache.NodeNotFoundException
getNodeKey, toString
 
Methods inherited from class org.modeshape.jcr.cache.DocumentNotFoundException
getKey
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeNotFoundInParentException

public NodeNotFoundInParentException(NodeKey key,
                                     NodeKey parentKey)
Parameters:
key - the key for the node that does not exist
parentKey - the key for the parent node
Method Detail

getParentKey

public NodeKey getParentKey()
Get the key for the parent node.

Returns:
the key for the parent node

ModeShape Distribution 3.0.0.Beta4

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.