public class ExecuteException extends IOException
| 构造器和说明 |
|---|
ExecuteException(String message,
int exitValue)
Construct a new exception with the specified detail message.
|
ExecuteException(String message,
int exitValue,
Throwable cause)
Construct a new exception with the specified detail message and cause.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Throwable |
getCause()
Return the underlying cause of this exception (if any).
|
int |
getExitValue()
Gets the exit value returned by the failed process
|
public ExecuteException(String message, int exitValue)
message - The detail messageexitValue - The exit valueCopyright © 2021. All rights reserved.