org.jboss.dna.graph.properties
Class PathNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jboss.dna.graph.properties.PathNotFoundException
- All Implemented Interfaces:
- Serializable
public class PathNotFoundException
- extends RuntimeException
- Author:
- Randall Hauch
- See Also:
- Serialized Form
PathNotFoundException
public PathNotFoundException(Path path,
Path lowestAncestorThatDoesExist)
- Parameters:
path
- lowestAncestorThatDoesExist
-
PathNotFoundException
public PathNotFoundException(Path path,
Path lowestAncestorThatDoesExist,
String message)
- Parameters:
path
- lowestAncestorThatDoesExist
- message
-
PathNotFoundException
public PathNotFoundException(Path path,
Path lowestAncestorThatDoesExist,
Throwable cause)
- Parameters:
path
- lowestAncestorThatDoesExist
- cause
-
PathNotFoundException
public PathNotFoundException(Path path,
Path lowestAncestorThatDoesExist,
String message,
Throwable cause)
- Parameters:
path
- lowestAncestorThatDoesExist
- message
- cause
-
toString
public String toString()
-
- Overrides:
toString
in class Throwable
getPath
public Path getPath()
- Get the path that was not found
- Returns:
- the path that was not found
getLowestAncestorThatDoesExist
public Path getLowestAncestorThatDoesExist()
- Get the lowest (closest) existing
ancestor
of the non-existant path
.
- Returns:
- the lowest ancestor that does exist
Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.