ModeShape Distribution 3.0.0.Beta4

Class NodeNotFoundInParentException

  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:

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
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


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


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

the key for the parent node

ModeShape Distribution 3.0.0.Beta4

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