Class TimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.spincast.plugins.processutils.exceptions.TimeoutException
- All Implemented Interfaces:
Serializable
Exception thrown when a program executed using
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!
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TimeoutException
-
-
Method Details
-
getSyncExecutionResult
-