public final class QueueMessageDecodingError extends Object
| Constructor and Description |
|---|
QueueMessageDecodingError(QueueAsyncClient queueAsyncClient,
QueueClient queueClient,
QueueMessageItem queueMessageItem,
PeekedMessageItem peekedMessageItem,
Exception cause)
Creates new
QueueMessageDecodingError. |
| Modifier and Type | Method and Description |
|---|---|
Exception |
getCause()
Gets the
Exception thrown at decoding attempt if present. |
PeekedMessageItem |
getPeekedMessageItem()
Gets the
PeekedMessageItem that has been peeked and could not be decoded. |
QueueAsyncClient |
getQueueAsyncClient()
Gets the async queue client that has received message.
|
QueueClient |
getQueueClient()
Gets the queue client that has received message.
|
QueueMessageItem |
getQueueMessageItem()
Gets the
QueueMessageItem that has been received and could not be decoded. |
public QueueMessageDecodingError(QueueAsyncClient queueAsyncClient, QueueClient queueClient, QueueMessageItem queueMessageItem, PeekedMessageItem peekedMessageItem, Exception cause)
QueueMessageDecodingError.queueAsyncClient - the QueueAsyncClient of the queue that has received message.queueClient - the QueueClient of the queue that has received message.queueMessageItem - the QueueMessageItem that has been received and could not be decoded.peekedMessageItem - the PeekedMessageItem that has been peeked and could not be decoded.cause - the Exception thrown at decoding attempt if present.public QueueAsyncClient getQueueAsyncClient()
public QueueClient getQueueClient()
public QueueMessageItem getQueueMessageItem()
QueueMessageItem that has been received and could not be decoded.
The body of the message is as received, i.e. no decoding is attempted.QueueMessageItem that has been received and could not be decoded.public PeekedMessageItem getPeekedMessageItem()
PeekedMessageItem that has been peeked and could not be decoded.
The body of the message is as received, i.e. no decoding is attempted.PeekedMessageItem that has been peeked and could not be decoded.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.