AuthorizationFailedException Class
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - com.
microsoft. azure. eventhubs. EventHubException - com.
microsoft. azure. eventhubs. AuthorizationFailedException
- com.
- com.
- java.
- java.
public class AuthorizationFailedException
extends EventHubException
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 (e.g. one passed to createFromConnectionString(String connectionString, ScheduledExecutorService executor)) 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(String message) |
Constructor for the exception class |
Methods inherited from EventHubException
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
Constructor Details
AuthorizationFailedException
public AuthorizationFailedException(String message)
Constructor for the exception class
Parameters:
Applies to
Azure SDK for Java
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기