ModeShape Distribution 3.0.0.Beta4

org.modeshape.jcr.cache
Class PathNotFoundException

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.PathNotFoundException
All Implemented Interfaces:
Serializable

public class PathNotFoundException
extends DocumentNotFoundException

An exception signalling that a node at a supplied path does not exist.

See Also:
Serialized Form

Constructor Summary
PathNotFoundException(Path pathNotFound, NodeKey keyForLowestExistingAncestor, Path pathForLowestExistingAncestor)
           
PathNotFoundException(Path pathNotFound, NodeKey keyForLowestExistingAncestor, Path pathForLowestExistingAncestor, String message)
           
PathNotFoundException(Path pathNotFound, NodeKey keyForLowestExistingAncestor, Path pathForLowestExistingAncestor, String message, Throwable cause)
           
PathNotFoundException(Path pathNotFound, NodeKey keyForLowestExistingAncestor, Path pathForLowestExistingAncestor, Throwable cause)
           
 
Method Summary
 NodeKey getLowestExistingKey()
           
 Path getLowestExistingPath()
           
 Path getPathNotFound()
           
 String 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

PathNotFoundException

public PathNotFoundException(Path pathNotFound,
                             NodeKey keyForLowestExistingAncestor,
                             Path pathForLowestExistingAncestor)
Parameters:
pathNotFound - the path that was not found
keyForLowestExistingAncestor - the key for the lowest node along the path that was found
pathForLowestExistingAncestor - the path for the lowest node along the path that was found

PathNotFoundException

public PathNotFoundException(Path pathNotFound,
                             NodeKey keyForLowestExistingAncestor,
                             Path pathForLowestExistingAncestor,
                             String message)
Parameters:
pathNotFound - the path that was not found
keyForLowestExistingAncestor - the key for the lowest node along the path that was found
pathForLowestExistingAncestor - the path for the lowest node along the path that was found
message - the message

PathNotFoundException

public PathNotFoundException(Path pathNotFound,
                             NodeKey keyForLowestExistingAncestor,
                             Path pathForLowestExistingAncestor,
                             Throwable cause)
Parameters:
pathNotFound - the path that was not found
keyForLowestExistingAncestor - the key for the lowest node along the path that was found
pathForLowestExistingAncestor - the path for the lowest node along the path that was found
cause - the cause of this exception

PathNotFoundException

public PathNotFoundException(Path pathNotFound,
                             NodeKey keyForLowestExistingAncestor,
                             Path pathForLowestExistingAncestor,
                             String message,
                             Throwable cause)
Parameters:
pathNotFound - the path that was not found
keyForLowestExistingAncestor - the key for the lowest node along the path that was found
pathForLowestExistingAncestor - the path for the lowest node along the path that was found
message - the message
cause - the cause of this exception
Method Detail

toString

public String toString()
Overrides:
toString in class DocumentNotFoundException

getLowestExistingKey

public NodeKey getLowestExistingKey()
Returns:
lowestExistingKey

getLowestExistingPath

public Path getLowestExistingPath()
Returns:
lowestExistingPath

getPathNotFound

public Path getPathNotFound()
Returns:
pathNotFound

ModeShape Distribution 3.0.0.Beta4

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