Class StoppedExecutorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.util.concurrent.RejectedExecutionException
org.jboss.threads.StoppedExecutorException
- All Implemented Interfaces:
Serializable
Thrown when a task is submitted to an executor which is in the process of, or has completed shutting down.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aStoppedExecutorExceptionwith no detail message.Constructs aStoppedExecutorExceptionwith the specified detail message.StoppedExecutorException(String msg, Throwable cause) Constructs aStoppedExecutorExceptionwith the specified detail message and cause.Constructs aStoppedExecutorExceptionwith the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StoppedExecutorException
public StoppedExecutorException()Constructs aStoppedExecutorExceptionwith no detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause. -
StoppedExecutorException
-
StoppedExecutorException
Constructs aStoppedExecutorExceptionwith 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)
-
StoppedExecutorException
Constructs aStoppedExecutorExceptionwith the specified detail message and cause.- Parameters:
msg- the detail messagecause- the cause (which is saved for later retrieval by theThrowable.getCause()method)
-