public class RejectException
extends java.lang.RuntimeException
MemorySafeLinkedBlockingQueue
when a element cannot be accepted.| Constructor and Description |
|---|
RejectException()
Constructs a
RejectException with no detail message. |
RejectException(java.lang.String message)
Constructs a
RejectException with the
specified detail message. |
RejectException(java.lang.String message,
java.lang.Throwable cause)
Constructs a
RejectException with the
specified detail message and cause. |
RejectException(java.lang.Throwable cause)
Constructs a
RejectException with the
specified cause. |
public RejectException()
RejectException with no detail message.
The cause is not initialized, and may subsequently be
initialized by a call to initCause.public RejectException(java.lang.String message)
RejectException with the
specified detail message. The cause is not initialized, and may
subsequently be initialized by a call to initCause.message - the detail messagepublic RejectException(java.lang.String message,
java.lang.Throwable cause)
RejectException with the
specified detail message and cause.message - the detail messagecause - the cause (which is saved for later retrieval by the
Throwable.getCause() method)public RejectException(java.lang.Throwable cause)
RejectException 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)Copyright © 2024 The Apache Software Foundation. All rights reserved.