public class RemoteProcessFailedException
extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
private int |
errorCode
The error code returned by the process.
|
private CSProcess |
process
The offending process.
|
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.
|
private final int errorCode
private final CSProcess process
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()