org.jboss.dna.graph.property
Class PathNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jboss.dna.graph.property.PathNotFoundException
- All Implemented Interfaces:
- Serializable
public class PathNotFoundException
- extends RuntimeException
- Author:
- Randall Hauch
- See Also:
- Serialized Form
PathNotFoundException
public PathNotFoundException(Location location,
Path lowestAncestorThatDoesExist)
- Parameters:
location - the location of the node that does not existlowestAncestorThatDoesExist - the path of the lowest (closest) ancestor that does exist
PathNotFoundException
public PathNotFoundException(Location location,
Path lowestAncestorThatDoesExist,
String message)
- Parameters:
location - the location of the node that does not existlowestAncestorThatDoesExist - the path of the lowest (closest) ancestor that does existmessage -
PathNotFoundException
public PathNotFoundException(Location location,
Path lowestAncestorThatDoesExist,
Throwable cause)
- Parameters:
location - the location of the node that does not existlowestAncestorThatDoesExist - the path of the lowest (closest) ancestor that does existcause -
PathNotFoundException
public PathNotFoundException(Location location,
Path lowestAncestorThatDoesExist,
String message,
Throwable cause)
- Parameters:
location - the location of the node that does not existlowestAncestorThatDoesExist - the path of the lowest (closest) ancestor that does existmessage - cause -
toString
public String toString()
-
- Overrides:
toString in class Throwable
getMessage
public String getMessage()
-
- Overrides:
getMessage in class Throwable
- See Also:
Throwable.getMessage()
getLocation
public Location getLocation()
- 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 location.
- Returns:
- the lowest ancestor that does exist
Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.