public class StoppedExecutorException
extends java.util.concurrent.RejectedExecutionException
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
StoppedExecutorException()
Constructs a
StoppedExecutorException with no detail message. |
StoppedExecutorException(java.lang.String msg)
Constructs a
StoppedExecutorException with the specified detail message. |
StoppedExecutorException(java.lang.String msg,
java.lang.Throwable cause)
Constructs a
StoppedExecutorException with the specified detail message and cause. |
StoppedExecutorException(java.lang.Throwable cause)
Constructs a
StoppedExecutorException with the specified cause. |
private static final long serialVersionUID
public StoppedExecutorException()
StoppedExecutorException with no detail message. The cause is not initialized, and may
subsequently be initialized by a call to initCause.public StoppedExecutorException(java.lang.String msg)
StoppedExecutorException with the specified detail message. The cause is not initialized, and
may subsequently be initialized by a call to initCause.msg - the detail messagepublic StoppedExecutorException(java.lang.Throwable cause)
StoppedExecutorException with the specified cause. The detail message is set to:
(cause == null ? null : cause.toString())(which typically contains the class and detail message of
cause).cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)public StoppedExecutorException(java.lang.String msg,
java.lang.Throwable cause)
StoppedExecutorException with the specified detail message and cause.msg - the detail messagecause - the cause (which is saved for later retrieval by the Throwable.getCause() method)