public class AuthorizationFailedException extends EventHubException
EventHubClient.createFromConnectionString(String, ScheduledExecutorService)) 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 and Description |
|---|
AuthorizationFailedException(String message)
Constructor for the exception class
|
getContext, getIsTransient, getMessage, setContextaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AuthorizationFailedException(String message)
message - the actual error message detailing the reason for the failureCopyright © 2019 Microsoft Corporation. All rights reserved.