|
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 | |
|---|---|
java.lang.Throwable |
cause
The actual exception. |
| Constructor Summary | |
|---|---|
RemoteSpawnException(java.lang.Throwable cause)
Constructs a new exception. |
|
| Method Summary | |
|---|---|
void |
printStackTrace()
Prints the stack trace of the actual exception. |
void |
rethrow()
Rethrows the actual exception. |
java.lang.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 java.lang.Throwable cause
| Constructor Detail |
|---|
public RemoteSpawnException(java.lang.Throwable cause)
cause - the actual exception.| Method Detail |
|---|
public void rethrow()
throws java.lang.Throwable
java.lang.Throwablepublic void printStackTrace()
printStackTrace in class java.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.Throwable
|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||