MultiplexingClientDeviceRegistrationAuthenticationException Class
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - com.
microsoft. azure. sdk. iot. device. exceptions. MultiplexingClientException - com.
microsoft. azure. sdk. iot. device. exceptions. MultiplexingClientDeviceRegistrationAuthenticationException
- com.
- com.
- java.
- java.
public class MultiplexingClientDeviceRegistrationAuthenticationException
extends MultiplexingClientException
Exception that is thrown when one or more devices fail to register to an active multiplexed connection.
Constructor Summary
| Constructor | Description |
|---|---|
| MultiplexingClientDeviceRegistrationAuthenticationException() |
Construct a new Multiplexing |
| MultiplexingClientDeviceRegistrationAuthenticationException(String message) |
Construct a new Multiplexing |
| MultiplexingClientDeviceRegistrationAuthenticationException(String message, Throwable cause) |
Construct a new Multiplexing |
| MultiplexingClientDeviceRegistrationAuthenticationException(Throwable cause) |
Construct a new Multiplexing |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| void |
addRegistrationException(String deviceId, 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(Map<String,Exception> registrationExceptions)
Sets the full registrations exception map. |
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
Constructor Details
MultiplexingClientDeviceRegistrationAuthenticationException
public MultiplexingClientDeviceRegistrationAuthenticationException()
Construct a new MultiplexingClientDeviceRegistrationAuthenticationException with no nested exception and no error message.
MultiplexingClientDeviceRegistrationAuthenticationException
public MultiplexingClientDeviceRegistrationAuthenticationException(String message)
Construct a new MultiplexingClientDeviceRegistrationAuthenticationException with no nested exception but with an error message.
Parameters:
MultiplexingClientDeviceRegistrationAuthenticationException
public MultiplexingClientDeviceRegistrationAuthenticationException(String message, Throwable cause)
Construct a new MultiplexingClientDeviceRegistrationAuthenticationException with a nested exception and an error message.
Parameters:
MultiplexingClientDeviceRegistrationAuthenticationException
public MultiplexingClientDeviceRegistrationAuthenticationException(Throwable cause)
Construct a new MultiplexingClientDeviceRegistrationAuthenticationException with a nested exception but no error message.
Parameters:
Method Details
addRegistrationException
public void addRegistrationException(String deviceId, Exception registrationException)
Associate a new registration exception to a device.
Parameters:
getRegistrationExceptions
public Map<String,Exception> getRegistrationExceptions()
Get the exception for each device that failed to register.
Returns:
setRegistrationExceptionsMap
public void setRegistrationExceptionsMap(Map<String,Exception> registrationExceptions)
Sets the full registrations exception map. This will overwrite any previously saved mappings.
Parameters: