AuthorizationFailedException Class
- java.
lang. Object - Exception
- ServiceBusException
- com.
microsoft. azure. servicebus. primitives. AuthorizationFailedException
- com.
public class AuthorizationFailedException extends ServiceBusException
Authorization failed exception is thrown when error is encountered during authorizing user's permission to run the intended operations. When encountered this exception user should check whether the token/key provided in the connection string is valid, and has correct execution right for the intended operations (e.g. Receive call will need Listen claim associated with the key/token).
Constructor Summary
Constructor | Description |
---|---|
AuthorizationFailedException(final String message) |
Constructor for the exception class |
Inherited Members
Constructor Details
AuthorizationFailedException
public AuthorizationFailedException(final String message)
Constructor for the exception class
Parameters:
Applies to
Azure SDK for Java