Class RejectException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.shenyu.common.concurrent.RejectException
-
- All Implemented Interfaces:
java.io.Serializable
public class RejectException extends java.lang.RuntimeExceptionException thrown by anMemorySafeLinkedBlockingQueuewhen a element cannot be accepted.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RejectException()Constructs aRejectExceptionwith no detail message.RejectException(java.lang.String message)Constructs aRejectExceptionwith the specified detail message.RejectException(java.lang.String message, java.lang.Throwable cause)Constructs aRejectExceptionwith the specified detail message and cause.RejectException(java.lang.Throwable cause)Constructs aRejectExceptionwith the specified cause.
-
-
-
Constructor Detail
-
RejectException
public RejectException()
Constructs aRejectExceptionwith no detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause.
-
RejectException
public RejectException(java.lang.String message)
Constructs aRejectExceptionwith the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause.- Parameters:
message- the detail message
-
RejectException
public RejectException(java.lang.String message, java.lang.Throwable cause)Constructs aRejectExceptionwith the specified detail message and cause.- Parameters:
message- the detail messagecause- the cause (which is saved for later retrieval by theThrowable.getCause()method)
-
RejectException
public RejectException(java.lang.Throwable cause)
Constructs aRejectExceptionwith the specified cause. The detail message is set to(cause == null ? null : cause.toString())(which typically contains the class and detail message ofcause).- Parameters:
cause- the cause (which is saved for later retrieval by theThrowable.getCause()method)
-
-