public class ExecuteException
extends java.io.IOException
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Throwable |
cause
The underlying cause of this exception.
|
private int |
exitValue
The exit value returned by the failed process
|
private static long |
serialVersionUID
Comment for
serialVersionUID. |
| Constructor and 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 and 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
|
private static final long serialVersionUID
serialVersionUID.private final java.lang.Throwable cause
private final int exitValue
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 cause