public class InvalidExitValueException extends RuntimeException
ProcessExecutor.exitValues(Integer...),
Serialized Form| Constructor and Description |
|---|
InvalidExitValueException(String message,
ProcessResult result) |
| Modifier and Type | Method and Description |
|---|---|
int |
exitValue()
Deprecated.
use
getExitValue() |
int |
getExitValue() |
ProcessResult |
getResult() |
ProcessResult |
result()
Deprecated.
use
getResult() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidExitValueException(String message, ProcessResult result)
result - result of execution (contains also the exit value)public ProcessResult getResult()
public int getExitValue()
public ProcessResult result()
getResult()public int exitValue()
getExitValue()Copyright © 2014 ZeroTurnaround. All rights reserved.