Class ExecutionTimedOutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.util.concurrent.RejectedExecutionException
org.jboss.threads.ExecutionTimedOutException
- All Implemented Interfaces:
Serializable
Deprecated.
Thrown when an execute-with-timeout method is called and the timeout elapsed before a task could be accepted.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Constructs aExecutionTimedOutExceptionwith no detail message.Deprecated.Constructs aExecutionTimedOutExceptionwith the specified detail message.ExecutionTimedOutException(String msg, Throwable cause) Deprecated.Constructs aExecutionTimedOutExceptionwith the specified detail message and cause.Deprecated.Constructs aExecutionTimedOutExceptionwith the specified cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExecutionTimedOutException
public ExecutionTimedOutException()Deprecated.Constructs aExecutionTimedOutExceptionwith no detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause. -
ExecutionTimedOutException
-
ExecutionTimedOutException
Deprecated.Constructs aExecutionTimedOutExceptionwith the specified cause. The detail message is set to:(cause == null ? null : cause.toString())
(which typically contains the class and detail message ofcause).- Parameters:
cause- the cause (which is saved for later retrieval by theThrowable.getCause()method)
-
ExecutionTimedOutException
Deprecated.Constructs aExecutionTimedOutExceptionwith the specified detail message and cause.- Parameters:
msg- the detail messagecause- the cause (which is saved for later retrieval by theThrowable.getCause()method)
-