public class PathAccessException extends RuntimeException
Path
Constructor and Description |
---|
PathAccessException(Path path,
RuntimeException ex) |
PathAccessException(Path path,
String msg) |
PathAccessException(Path path,
String msg,
Throwable ex) |
PathAccessException(Path path,
UnavailableContentError ex) |
PathAccessException(Path path,
UserMessage errorMessage) |
PathAccessException(String msg) |
Modifier and Type | Method and Description |
---|---|
Path |
getPathInError()
Returns either the path specified in the constructor, or
null . |
UserMessage |
getUserMessage()
Returns either the user message specified in the constructor, or
null . |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public PathAccessException(String msg)
public PathAccessException(Path path, RuntimeException ex)
public PathAccessException(Path path, UnavailableContentError ex)
public PathAccessException(Path path, UserMessage errorMessage)
public Path getPathInError()
null
.public UserMessage getUserMessage()
null
.