Class ExecutionInterruptedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.util.concurrent.RejectedExecutionException
org.jboss.threads.ExecutionInterruptedException
- All Implemented Interfaces:
Serializable
Deprecated.
Thrown when a
Executor.execute(Runnable) submission is interrupted before the task could be accepted. If
this exception is thrown, the thread's interrupted flag will also be set.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Constructs aExecutionInterruptedExceptionwith no detail message.Deprecated.Constructs aExecutionInterruptedExceptionwith the specified detail message.ExecutionInterruptedException(String msg, Throwable cause) Deprecated.Constructs aExecutionInterruptedExceptionwith the specified detail message and cause.Deprecated.Constructs aExecutionInterruptedExceptionwith 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
-
ExecutionInterruptedException
public ExecutionInterruptedException()Deprecated.Constructs aExecutionInterruptedExceptionwith no detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause. -
ExecutionInterruptedException
-
ExecutionInterruptedException
Deprecated.Constructs aExecutionInterruptedExceptionwith 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)
-
ExecutionInterruptedException
Deprecated.Constructs aExecutionInterruptedExceptionwith the specified detail message and cause.- Parameters:
msg- the detail messagecause- the cause (which is saved for later retrieval by theThrowable.getCause()method)
-