public class MultiplexingClientDeviceRegistrationAuthenticationException extends MultiplexingClientException
Constructor and Description |
---|
MultiplexingClientDeviceRegistrationAuthenticationException()
Construct a new MultiplexingClientDeviceRegistrationAuthenticationException with no nested exception and no error message.
|
MultiplexingClientDeviceRegistrationAuthenticationException(String message)
Construct a new MultiplexingClientDeviceRegistrationAuthenticationException with no nested exception but with an error message.
|
MultiplexingClientDeviceRegistrationAuthenticationException(String message,
Throwable cause)
Construct a new MultiplexingClientDeviceRegistrationAuthenticationException with a nested exception and an error message.
|
MultiplexingClientDeviceRegistrationAuthenticationException(Throwable cause)
Construct a new MultiplexingClientDeviceRegistrationAuthenticationException with a nested exception but no error message.
|
Modifier and Type | Method and Description |
---|---|
void |
addRegistrationException(String deviceId,
Exception registrationException)
Associate a new registration exception to a device.
|
Map<String,Exception> |
getRegistrationExceptions()
Get the exception for each device that failed to register.
|
void |
setRegistrationExceptionsMap(Map<String,Exception> registrationExceptions)
Sets the full registrations exception map.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MultiplexingClientDeviceRegistrationAuthenticationException()
public MultiplexingClientDeviceRegistrationAuthenticationException(String message)
message
- The top level message for this exception.public MultiplexingClientDeviceRegistrationAuthenticationException(String message, Throwable cause)
message
- The top level message for this exception.cause
- The nested exception.public MultiplexingClientDeviceRegistrationAuthenticationException(Throwable cause)
cause
- The nested exception.public void addRegistrationException(String deviceId, 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 Map<String,Exception> getRegistrationExceptions()
Copyright © 2020. All rights reserved.