AmqpNotAllowedException Class
- java.
lang. Object - Exception
- TransportException
- ProtocolException
- com.
microsoft. azure. sdk. iot. device. transport. amqps. exceptions. AmqpNotAllowedException
- com.
public class AmqpNotAllowedException extends ProtocolException
This exception is thrown when a amqp:not-allowed error is encountered over an AMQP connection
Field Summary
Modifier and Type | Field and Description |
---|---|
final String | errorCode |
Constructor Summary
Constructor | Description | |
---|---|---|
AmqpNotAllowedException() | ||
AmqpNotAllowedException(String message) | ||
AmqpNotAllowedException(String message, Throwable cause) | ||
AmqpNotAllowedException(Throwable cause) |
Inherited Members
Field Details
errorCode
public static final String errorCode= "amqp:not-allowed"
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: