public interface ExecResult
| Modifier and Type | Method and Description |
|---|---|
ExecResult |
assertNormalExitValue()
Throws an
ExecException if the process exited with a non-zero exit value. |
int |
getExitValue()
Returns the exit value of the process.
|
ExecResult |
rethrowFailure()
Re-throws any failure executing this process.
|
int getExitValue()
ExecResult assertNormalExitValue() throws ExecException
ExecException if the process exited with a non-zero exit value.ExecException - if the process exited with a non-zero exit valueExecResult rethrowFailure() throws ExecException
ExecException - the execution failureCopyright © 2013. All rights reserved