public class MultiplexingDeviceUnauthorizedException extends UnauthorizedException
isRetryable| Constructor and Description |
|---|
MultiplexingDeviceUnauthorizedException()
Construct a new MultiplexingClientDeviceRegistrationAuthenticationException with no nested exception and no error message.
|
MultiplexingDeviceUnauthorizedException(java.lang.String message)
Construct a new MultiplexingClientDeviceRegistrationAuthenticationException with no nested exception but with an error message.
|
MultiplexingDeviceUnauthorizedException(java.lang.String message,
java.lang.Throwable cause)
Construct a new MultiplexingClientDeviceRegistrationAuthenticationException with a nested exception and an error message.
|
MultiplexingDeviceUnauthorizedException(java.lang.Throwable cause)
Construct a new MultiplexingClientDeviceRegistrationAuthenticationException with a nested exception but no error message.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRegistrationException(java.lang.String deviceId,
java.lang.Exception registrationException)
Associate a new registration exception to a device.
|
java.util.Map<java.lang.String,java.lang.Exception> |
getRegistrationExceptions()
Get the exception for each device that failed to register.
|
void |
setRegistrationExceptionsMap(java.util.Map<java.lang.String,java.lang.Exception> registrationExceptions)
Sets the full registrations exception map.
|
getStatusCodeisRetryable, setRetryable, toIotHubClientExceptionpublic MultiplexingDeviceUnauthorizedException()
public MultiplexingDeviceUnauthorizedException(java.lang.String message)
message - The top level message for this exception.public MultiplexingDeviceUnauthorizedException(java.lang.String message,
java.lang.Throwable cause)
message - The top level message for this exception.cause - The nested exception.public MultiplexingDeviceUnauthorizedException(java.lang.Throwable cause)
cause - The nested exception.public void addRegistrationException(java.lang.String deviceId,
java.lang.Exception registrationException)
deviceId - The device that failed to register to an active multiplexed connection.registrationException - The exception that explains why the device failed to register to an active multiplexed connection.public java.util.Map<java.lang.String,java.lang.Exception> getRegistrationExceptions()
public void setRegistrationExceptionsMap(java.util.Map<java.lang.String,java.lang.Exception> registrationExceptions)
registrationExceptions - the new full registrations exception map.Copyright © 2023. All rights reserved.