MessageNotFoundException Class
- java.
lang. Object - Exception
- ServiceBusException
- com.
microsoft. azure. servicebus. primitives. MessageNotFoundException
- com.
public class MessageNotFoundException extends ServiceBusException
This exception is thrown when a receiver attempts to receive a message with sequence number and the message with that sequence number is not available in the queue or subscription.
Constructor Summary
Constructor | Description | |
---|---|---|
MessageNotFoundException() | ||
MessageNotFoundException(String message) | ||
MessageNotFoundException(String message, Throwable cause) | ||
MessageNotFoundException(Throwable cause) |
Inherited Members
ServiceBusException.getContext()
ServiceBusException.getIsTransient()
ServiceBusException.getMessage()
ServiceBusException.ServiceBusException(final boolean isTransient)
ServiceBusException.ServiceBusException(final boolean isTransient, final String message)
ServiceBusException.ServiceBusException(final boolean isTransient, final Throwable cause)
ServiceBusException.ServiceBusException(final boolean isTransient, final String message, final Throwable cause)
Constructor Details
MessageNotFoundException
public MessageNotFoundException()
MessageNotFoundException
public MessageNotFoundException(String message)
Parameters:
message
MessageNotFoundException
public MessageNotFoundException(String message, Throwable cause)
Parameters:
message
cause
MessageNotFoundException
public MessageNotFoundException(Throwable cause)
Parameters:
cause
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java