@Deprecated public class ExecutionInterruptedException extends 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.Constructor and Description |
---|
ExecutionInterruptedException()
Deprecated.
Constructs a
ExecutionInterruptedException with no detail message. |
ExecutionInterruptedException(String msg)
Deprecated.
Constructs a
ExecutionInterruptedException with the specified detail message. |
ExecutionInterruptedException(String msg,
Throwable cause)
Deprecated.
Constructs a
ExecutionInterruptedException with the specified detail message and cause. |
ExecutionInterruptedException(Throwable cause)
Deprecated.
Constructs a
ExecutionInterruptedException with the specified cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ExecutionInterruptedException()
ExecutionInterruptedException
with no detail message. The cause is not initialized, and may
subsequently be initialized by a call to initCause
.public ExecutionInterruptedException(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(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(String msg, 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)Copyright © 2023 JBoss by Red Hat. All rights reserved.