|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jcsp.net.remote.RemoteSpawnException
public class RemoteSpawnException
Wraps up a non-RuntimeException into a runtime exception that can be ignored or caught and rethrown if required.
| Field Summary | |
|---|---|
Throwable |
cause
The actual exception. |
| Constructor Summary | |
|---|---|
RemoteSpawnException(Throwable cause)
Constructs a new exception. |
|
| Method Summary | |
|---|---|
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 java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final Throwable cause
| Constructor Detail |
|---|
public RemoteSpawnException(Throwable cause)
cause - the actual exception.| Method Detail |
|---|
public void rethrow()
throws Throwable
Throwablepublic void printStackTrace()
printStackTrace in class Throwablepublic String toString()
toString in class Throwable
|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||