QueueMessageDecodingError Class
- java.
lang. Object - com.
azure. storage. queue. models. QueueMessageDecodingError
- com.
public final class QueueMessageDecodingError
Contains information about message that could not be decoded.
Constructor Summary
Method Summary
Modifier and Type | Method and Description |
---|---|
Exception |
getCause()
Gets the Exception thrown at decoding attempt if present. |
Peeked |
getPeekedMessageItem()
Gets the PeekedMessageItem that has been peeked and could not be decoded. |
Queue |
getQueueAsyncClient()
Gets the async queue client that has received message. |
Queue |
getQueueClient()
Gets the queue client that has received message. |
Queue |
getQueueMessageItem()
Gets the QueueMessageItem that has been received and could not be decoded. |
Methods inherited from java.lang.Object
Constructor Details
QueueMessageDecodingError
public QueueMessageDecodingError(QueueAsyncClient queueAsyncClient, QueueClient queueClient, QueueMessageItem queueMessageItem, PeekedMessageItem peekedMessageItem, Exception cause)
Creates new QueueMessageDecodingError.
Parameters:
Method Details
getCause
public Exception getCause()
Gets the Exception thrown at decoding attempt if present.
Returns:
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:
getQueueAsyncClient
public QueueAsyncClient getQueueAsyncClient()
Gets the async queue client that has received message.
Returns:
getQueueClient
public QueueClient getQueueClient()
Gets the queue client that has received message.
Returns:
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:
Applies to
Azure SDK for Java