public class RemoteProcessFailedException
extends java.lang.RuntimeException
Constructor and Description |
---|
RemoteProcessFailedException(int ec,
CSProcess proc)
Constructs a new exception.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Returns the error code of the remote JVM.
|
CSProcess |
getFailedProcess()
Returns the process that was running when the error occurred.
|
java.lang.String |
toString()
Returns a string description of the exception.
|
public RemoteProcessFailedException(int ec, CSProcess proc)
ec
- the exit code from the remote JVM.proc
- the process that was running.public java.lang.String toString()
toString
in class java.lang.Throwable
public int getErrorCode()
public CSProcess getFailedProcess()
Submit a bug or feature to jcsp-team@kent.ac.uk
Version 1.1-rc4 of the JCSP API Specification (Copyright 1997-2008 P.D.Austin and P.H.Welch - All Rights Reserved)
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.