org.modeshape.jcr.cache
Class PathNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.modeshape.jcr.cache.DocumentNotFoundException
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)
|
PathNotFoundException
public PathNotFoundException(Path pathNotFound,
NodeKey keyForLowestExistingAncestor,
Path pathForLowestExistingAncestor)
- Parameters:
pathNotFound
- the path that was not foundkeyForLowestExistingAncestor
- the key for the lowest node along the path that was foundpathForLowestExistingAncestor
- 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 foundkeyForLowestExistingAncestor
- the key for the lowest node along the path that was foundpathForLowestExistingAncestor
- the path for the lowest node along the path that was foundmessage
- the message
PathNotFoundException
public PathNotFoundException(Path pathNotFound,
NodeKey keyForLowestExistingAncestor,
Path pathForLowestExistingAncestor,
Throwable cause)
- Parameters:
pathNotFound
- the path that was not foundkeyForLowestExistingAncestor
- the key for the lowest node along the path that was foundpathForLowestExistingAncestor
- the path for the lowest node along the path that was foundcause
- 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 foundkeyForLowestExistingAncestor
- the key for the lowest node along the path that was foundpathForLowestExistingAncestor
- the path for the lowest node along the path that was foundmessage
- the messagecause
- the cause of this exception
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
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.