public class ExecutionInterruptedException
extends java.util.concurrent.RejectedExecutionException
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.| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
ExecutionInterruptedException()
Constructs a
ExecutionInterruptedException with no detail message. |
ExecutionInterruptedException(java.lang.String msg)
Constructs a
ExecutionInterruptedException with the specified detail message. |
ExecutionInterruptedException(java.lang.String msg,
java.lang.Throwable cause)
Constructs a
ExecutionInterruptedException with the specified detail message and cause. |
ExecutionInterruptedException(java.lang.Throwable cause)
Constructs a
ExecutionInterruptedException with the specified cause. |
private static final long serialVersionUID
public ExecutionInterruptedException()
ExecutionInterruptedException with no detail message. The cause is not initialized, and may
subsequently be initialized by a call to initCause.public ExecutionInterruptedException(java.lang.String msg)
ExecutionInterruptedException with the specified detail message. The cause is not initialized,
and may subsequently be initialized by a call to initCause.msg - the detail messagepublic ExecutionInterruptedException(java.lang.Throwable cause)
ExecutionInterruptedException 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 ExecutionInterruptedException(java.lang.String msg,
java.lang.Throwable cause)
ExecutionInterruptedException with the specified detail message and cause.msg - the detail messagecause - the cause (which is saved for later retrieval by the Throwable.getCause() method)