Package org.jcsp.net.remote
Class RemoteSpawnException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jcsp.net.remote.RemoteSpawnException
- All Implemented Interfaces:
Serializable
Wraps up a non-RuntimeException into a runtime exception that can be ignored or caught and
rethrown if required.
- Author:
- Quickstone Technologies Limited
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
cause
The actual exception.
-
-
Constructor Details
-
RemoteSpawnException
Constructs a new exception.- Parameters:
cause
- the actual exception.
-
-
Method Details
-
rethrow
Rethrows the actual exception.- Throws:
Throwable
-
printStackTrace
public void printStackTrace()Prints the stack trace of the actual exception.- Overrides:
printStackTrace
in classThrowable
-
toString
Returns a string representation of the actual exception.
-