Thrown if a remote process terminates abruptly with a non-zero error code.
Constructor and description |
---|
RemoteProcessFailedException
(int ec, CSProcess proc) Constructs a new exception. |
Type | Name and description |
---|---|
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 | Name |
---|---|
class RuntimeException |
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, addSuppressed, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
class Exception |
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, addSuppressed, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Constructs a new exception.
ec
- the exit code from the remote JVM.proc
- the process that was running.JCSP for Java 1.8 generated 14-10-2016 by Jon Kerridge, Edinburgh Napier University - j dot kerridge at napier dot ac dot uk