public class MultiplexingClientRegistrationException extends IotHubClientException
| Constructor and Description |
|---|
MultiplexingClientRegistrationException()
Construct a new MultiplexingClientDeviceRegistrationAuthenticationException with no nested exception and no error message.
|
MultiplexingClientRegistrationException(java.lang.Exception cause)
Construct a new MultiplexingClientDeviceRegistrationAuthenticationException with a nested exception but no error message.
|
MultiplexingClientRegistrationException(java.lang.String message)
Construct a new MultiplexingClientDeviceRegistrationAuthenticationException with no nested exception but with an error message.
|
MultiplexingClientRegistrationException(java.lang.String message,
java.lang.Exception cause)
Construct a new MultiplexingClientDeviceRegistrationAuthenticationException with a nested exception and an 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.
|
public MultiplexingClientRegistrationException()
public MultiplexingClientRegistrationException(java.lang.String message)
message - The top level message for this exception.public MultiplexingClientRegistrationException(java.lang.String message,
java.lang.Exception cause)
message - The top level message for this exception.cause - The nested exception.public MultiplexingClientRegistrationException(java.lang.Exception 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.