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()
Copyright © 1996–2019. All rights reserved.