public class ExecuteException
extends java.io.IOException
| 构造器和说明 |
|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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 cause