public class ViewerException extends Exception
Viewer.update()
.Constructor and Description |
---|
ViewerException(String message,
Throwable causeIn)
Creates a new ViewerException.
|
ViewerException(String message,
Throwable causeIn,
ValueAndType errorObjectIn)
Creates a new ViewerException.
|
Modifier and Type | Method and Description |
---|---|
ValueAndType |
getErrorObject()
If this exception was created as the result of an uncaught Throwable in
the target VM, gets that Throwable.
|
Throwable |
getTheCause()
Gets the cause of this exception, if any.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ViewerException(String message, Throwable causeIn)
message
- the detail message.causeIn
- the cause of this exception, or null if this exception was
not caused by a previous exception.public ViewerException(String message, Throwable causeIn, ValueAndType errorObjectIn)
message
- the detail message.causeIn
- the cause of this exception, or null if this exception was
not caused by a previous exception.errorObjectIn
- the uncaught exception in the target VM that lead to
this exception.public ValueAndType getErrorObject()
public Throwable getTheCause()