public class ExecuteException extends IOException
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Return the underlying cause of this exception (if any).
|
int |
getExitValue()
Gets the exit value returned by the failed process
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ExecuteException(String message, int exitValue)
message
- The detail messageexitValue
- The exit valueCopyright © 2023 The Apache Software Foundation. All rights reserved.