public class ExecuteException extends java.io.IOException
Constructor | Description |
---|---|
ExecuteException(java.lang.String message,
int exitValue) |
Construct a new exception with the specified detail message.
|
ExecuteException(java.lang.String message,
int exitValue,
java.lang.Throwable cause) |
Construct a new exception with the specified detail message and cause.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Throwable |
getCause() |
Return the underlying cause of this exception (if any).
|
int |
getExitValue() |
Gets the exit value returned by the failed process
|
public ExecuteException(java.lang.String message, int exitValue)
message
- The detail messageexitValue
- The exit valuepublic ExecuteException(java.lang.String message, int exitValue, java.lang.Throwable cause)
message
- The detail messageexitValue
- The exit valuecause
- The underlying causepublic java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
public int getExitValue()