AmqpUnauthorizedAccessException Class

public class AmqpUnauthorizedAccessException extends ProtocolException

This exception is thrown when a amqp:unauthorized-access error is encountered over an AMQP connection

For additional details, see this link

Field Summary

Modifier and Type Field and Description
final String errorCode

Constructor Summary

Constructor Description
AmqpUnauthorizedAccessException()
AmqpUnauthorizedAccessException(String message)
AmqpUnauthorizedAccessException(String message, Throwable cause)
AmqpUnauthorizedAccessException(Throwable cause)

Inherited Members

Field Details

errorCode

public static final String errorCode= "amqp:unauthorized-access"

Constructor Details

AmqpUnauthorizedAccessException

public AmqpUnauthorizedAccessException()

AmqpUnauthorizedAccessException

public AmqpUnauthorizedAccessException(String message)

Parameters:

message

AmqpUnauthorizedAccessException

public AmqpUnauthorizedAccessException(String message, Throwable cause)

Parameters:

message
cause

AmqpUnauthorizedAccessException

public AmqpUnauthorizedAccessException(Throwable cause)

Parameters:

cause

Applies to