Class TimeoutException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.spincast.plugins.processutils.exceptions.TimeoutException
All Implemented Interfaces:
Serializable

public class TimeoutException extends Exception
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 Details

  • Method Details