|
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.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.jcsp.net.remote.RemoteProcessFailedException
public class RemoteProcessFailedException
Thrown if a remote process terminates abruptly with a non-zero error code.
Constructor Summary | |
---|---|
RemoteProcessFailedException(int ec,
CSProcess proc)
Constructs a new exception. |
Method Summary | |
---|---|
int |
getErrorCode()
Returns the error code of the remote JVM. |
CSProcess |
getFailedProcess()
Returns the process that was running when the error occurred. |
String |
toString()
Returns a string description of the exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RemoteProcessFailedException(int ec, CSProcess proc)
ec
- the exit code from the remote JVM.proc
- the process that was running.Method Detail |
---|
public String toString()
toString
in class Throwable
public int getErrorCode()
public CSProcess getFailedProcess()
|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |