public class InvalidPathException extends Exception
Exception thrown when no mapping can be found for the specified path.
Constructor and Description |
---|
InvalidPathException()
Default, no-argument constructor.
|
InvalidPathException(String message,
String path)
Constructor to inject message and path upon instantiation.
|
Modifier and Type | Method and Description |
---|---|
String |
getPath()
Return the invalid path causing the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidPathException()
Default, no-argument constructor.
public String getPath()
Return the invalid path causing the exception.
Copyright © 2000–2017 Apache Software Foundation. All rights reserved.