public class InvalidResultException extends RuntimeException
| Constructor and Description |
|---|
InvalidResultException(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 InvalidResultException(String message, ProcessResult result)
message - the detail message of the exceptionresult - result of execution (contains also the exit value)public ProcessResult getResult()
public int getExitValue()
public ProcessResult result()
getResult()public int exitValue()
getExitValue()Copyright © 2020 ZeroTurnaround. All rights reserved.