public class TimeoutException extends Exception
executeSync()
exceeds the specified timeout.
Note that the result object is available
through the getSyncExecutionResult() method, so you can
still have access to the current output of the program, if the
BUFFER strategy was used.
Also note that the SyncExecutionResult.getExitCode() method
of that result object will return an undefined
value (but probably be -1) as the program didn't exit properly!
| Constructor and Description |
|---|
TimeoutException(SyncExecutionResult syncExecutionResult) |
| Modifier and Type | Method and Description |
|---|---|
SyncExecutionResult |
getSyncExecutionResult() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TimeoutException(SyncExecutionResult syncExecutionResult)
public SyncExecutionResult getSyncExecutionResult()
Copyright © 2019. All rights reserved.