Top Description Fields Constructors
org.jboss.threads

public Class StoppedExecutorException

extends RejectedExecutionException
Class Inheritance
Imports
java.util.concurrent.RejectedExecutionException

Thrown when a task is submitted to an executor which is in the process of, or has completed shutting down.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
StoppedExecutorException()

Constructs a StoppedExecutorException with no detail message.

public
StoppedExecutorException(final String
the detail message
msg
)

Constructs a StoppedExecutorException with the specified detail message.

public
StoppedExecutorException(final Throwable
the cause (which is saved for later retrieval by the getCause() method)
cause
)

Constructs a StoppedExecutorException with the specified cause.

public
StoppedExecutorException(final String
the detail message
msg
,
final Throwable
the cause (which is saved for later retrieval by the getCause() method)
cause
)

Constructs a StoppedExecutorException with the specified detail message and cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.util.concurrent.RejectedExecutionException.serialVersionUID.

Constructor Detail

StoppedExecutorExceptionback to summary
public StoppedExecutorException()

Constructs a StoppedExecutorException with no detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.

StoppedExecutorExceptionback to summary
public StoppedExecutorException(final String msg)

Constructs a StoppedExecutorException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.

Parameters
msg:String

the detail message

StoppedExecutorExceptionback to summary
public StoppedExecutorException(final Throwable cause)

Constructs a 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).
Parameters
cause:Throwable

the cause (which is saved for later retrieval by the getCause() method)

StoppedExecutorExceptionback to summary
public StoppedExecutorException(final String msg, final Throwable cause)

Constructs a StoppedExecutorException with the specified detail message and cause.

Parameters
msg:String

the detail message

cause:Throwable

the cause (which is saved for later retrieval by the getCause() method)