Wraps up a non-RuntimeException into a runtime exception that can be ignored or caught and rethrown if required.
Constructor and description |
---|
RemoteSpawnException
(Throwable cause) Constructs a new exception. |
Type | Name and description |
---|---|
void |
printStackTrace() Prints the stack trace of the actual exception. |
void |
rethrow() Rethrows the actual exception. |
String |
toString() Returns a string representation of the actual exception. |
Methods inherited from class | Name |
---|---|
class RuntimeException |
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, addSuppressed, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
class Exception |
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, addSuppressed, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
The actual exception.
Constructs a new exception.
cause
- the actual exception.Prints the stack trace of the actual exception.
Rethrows the actual exception.
Returns a string representation of the actual exception.
JCSP for Java 1.8 generated 14-10-2016 by Jon Kerridge, Edinburgh Napier University - j dot kerridge at napier dot ac dot uk