Class QueueMessageDecodingError


  • public final class QueueMessageDecodingError
    extends Object
    Contains information about message that could not be decoded.
    • Method Detail

      • getQueueAsyncClient

        public QueueAsyncClient getQueueAsyncClient()
        Gets the async queue client that has received message.
        Returns:
        the queue client that has received message.
      • getQueueClient

        public QueueClient getQueueClient()
        Gets the queue client that has received message.
        Returns:
        the queue client that has received message.
      • getQueueMessageItem

        public QueueMessageItem getQueueMessageItem()
        Gets the QueueMessageItem that has been received and could not be decoded. The body of the message is as received, i.e. no decoding is attempted.
        Returns:
        the QueueMessageItem that has been received and could not be decoded.
      • getPeekedMessageItem

        public PeekedMessageItem getPeekedMessageItem()
        Gets the PeekedMessageItem that has been peeked and could not be decoded. The body of the message is as received, i.e. no decoding is attempted.
        Returns:
        the PeekedMessageItem that has been peeked and could not be decoded.
      • getCause

        public Exception getCause()
        Gets the Exception thrown at decoding attempt if present.
        Returns:
        the Exception thrown at decoding attempt if present.