Class NoRejectedHandlerError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.util.concurrent.RejectedExecutionException
-
- com.github.javinator9889.threading.errors.NoRejectedHandlerError
-
- All Implemented Interfaces:
java.io.Serializable
public class NoRejectedHandlerError extends java.util.concurrent.RejectedExecutionException
Subclass ofRejectedExecutionException
which is a custom exception thrown by classDefaultRejectedExecutionHandler
, which indicates that there is no reject handler defined but default one.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoRejectedHandlerError(java.lang.String message)
Constructs a new runtime exception with the specified detail message.
-
-
-
Constructor Detail
-
NoRejectedHandlerError
public NoRejectedHandlerError(java.lang.String message)
Constructs a new runtime exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable)
.- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.
-
-