AmqpNotAllowedException Class
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - com.
microsoft. azure. sdk. iot. device. exceptions. DeviceClientException - com.
microsoft. azure. sdk. iot. device. exceptions. TransportException - com.
microsoft. azure. sdk. iot. device. exceptions. ProtocolException - com.
microsoft. azure. sdk. iot. device. transport. amqps. exceptions. AmqpNotAllowedException
- com.
- com.
- com.
- com.
- java.
- java.
public class AmqpNotAllowedException
extends ProtocolException
This exception is thrown when a amqp:not-allowed error is encountered over an AMQP connection For additional details, see this link
Field Summary
Modifier and Type | Field and Description |
---|---|
static final java.lang.String | errorCode |
Constructor Summary
Constructor | Description | |
---|---|---|
AmqpNotAllowedException() | ||
AmqpNotAllowedException(String message) | ||
AmqpNotAllowedException(String message, Throwable cause) | ||
AmqpNotAllowedException(Throwable cause) |
Methods inherited from TransportException
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
Field Details
errorCode
public static final String errorCode
Constructor Details
AmqpNotAllowedException
public AmqpNotAllowedException()
AmqpNotAllowedException
public AmqpNotAllowedException(String message)
Parameters:
AmqpNotAllowedException
public AmqpNotAllowedException(String message, Throwable cause)
Parameters:
AmqpNotAllowedException
public AmqpNotAllowedException(Throwable cause)
Parameters: