Class MessagingRejectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.messaging.MessagingException
io.helidon.messaging.MessagingRejectedException
- All Implemented Interfaces:
Serializable
Message admission rejection.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumAdmission rejection reason. -
Constructor Summary
ConstructorsConstructorDescriptionMessagingRejectedException(String channel, MessagingRejectedException.Reason reason) Create a rejection with a generated diagnostic message.MessagingRejectedException(String channel, MessagingRejectedException.Reason reason, String message) Create a rejection.MessagingRejectedException(String channel, MessagingRejectedException.Reason reason, String message, Throwable cause) Create a rejection with a cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MessagingRejectedException
Create a rejection with a generated diagnostic message.- Parameters:
channel- rejected channelreason- rejection reason- Throws:
NullPointerException- ifchannelorreasonisnull
-
MessagingRejectedException
public MessagingRejectedException(String channel, MessagingRejectedException.Reason reason, String message) Create a rejection.- Parameters:
channel- rejected channelreason- rejection reasonmessage- diagnostic message- Throws:
NullPointerException- ifchannel,reason, ormessageisnull
-
MessagingRejectedException
public MessagingRejectedException(String channel, MessagingRejectedException.Reason reason, String message, Throwable cause) Create a rejection with a cause.- Parameters:
channel- rejected channelreason- rejection reasonmessage- diagnostic messagecause- root cause- Throws:
NullPointerException- ifchannel,reason,message, orcauseisnull
-
-
Method Details
-
channel
-
reason
-