public class InvalidLocatorException extends Exception
Locator is not valid
in a particular context. A Locator can be invalid or
several reasons, including:
Locator refers to a resource that is not
valid at the time of usage.
Locator refers to a type of resource that is
not appropriate for usage as a particular method parameter.
Locator refers to a type of
resource whose usage is not supported on this system.
| Constructor and Description |
|---|
InvalidLocatorException(Locator locator)
Constructs an
InvalidLocatorException with no
detail message. |
InvalidLocatorException(Locator locator,
String reason)
Constructs an
InvalidLocatorException with the
specified detail message. |
| Modifier and Type | Method and Description |
|---|---|
Locator |
getInvalidLocator()
Returns the offending
Locator instance. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidLocatorException(Locator locator)
InvalidLocatorException with no
detail message.locator - The offending Locator.public Locator getInvalidLocator()
Locator instance.Copyright © 2012 code4tv.com. All Rights Reserved.