public class LocatorException extends RuntimeException
An exception class for reporting error conditions related to
objects.
Locator
Exceptions of this type can be thrown by the methods of the
interface if the resources they should
represent are invalid or cannot be found. Note that this is a runtime
exception because error conditions of this type are usually caused by
programming errors and cannot be recovered from.
Locator
Constructor and Description |
---|
LocatorException()
Creates a new instance of
LocatorException . |
LocatorException(String msg)
Creates a new instance of
LocatorException and sets an
error message. |
LocatorException(String msg,
Throwable cause)
Creates a new instance of
LocatorException and sets an
error message and a root cause. |
LocatorException(Throwable cause)
Creates a new instance of
LocatorException and sets the
root cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LocatorException()
LocatorException
.public LocatorException(String msg)
LocatorException
and sets an
error message.msg
- the error messagepublic LocatorException(String msg, Throwable cause)
LocatorException
and sets an
error message and a root cause.msg
- the error messagecause
- the root causepublic LocatorException(Throwable cause)
LocatorException
and sets the
root cause.cause
- the root causeCopyright © 2016 The JGUIraffe Team. All rights reserved.