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