org.eclipse.paho.client.mqttv3
Class MqttSecurityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.paho.client.mqttv3.MqttException
org.eclipse.paho.client.mqttv3.MqttSecurityException
- All Implemented Interfaces:
- Serializable
public class MqttSecurityException
- extends MqttException
Thrown when a client is not authorized to perform an operation, or
if there is a problem with the security configuration.
- See Also:
- Serialized Form
Fields inherited from class org.eclipse.paho.client.mqttv3.MqttException |
REASON_CODE_BROKER_UNAVAILABLE, REASON_CODE_CLIENT_ALREADY_DISCONNECTED, REASON_CODE_CLIENT_CLOSED, REASON_CODE_CLIENT_CONNECTED, REASON_CODE_CLIENT_DISCONNECT_PROHIBITED, REASON_CODE_CLIENT_DISCONNECTING, REASON_CODE_CLIENT_EXCEPTION, REASON_CODE_CLIENT_NOT_CONNECTED, REASON_CODE_CLIENT_TIMEOUT, REASON_CODE_CONNECT_IN_PROGRESS, REASON_CODE_CONNECTION_LOST, REASON_CODE_FAILED_AUTHENTICATION, REASON_CODE_INVALID_CLIENT_ID, REASON_CODE_INVALID_MESSAGE, REASON_CODE_INVALID_PROTOCOL_VERSION, REASON_CODE_MAX_INFLIGHT, REASON_CODE_NO_MESSAGE_IDS_AVAILABLE, REASON_CODE_NOT_AUTHORIZED, REASON_CODE_SERVER_CONNECT_ERROR, REASON_CODE_SOCKET_FACTORY_MISMATCH, REASON_CODE_SSL_CONFIG_ERROR, REASON_CODE_TOKEN_INUSE, REASON_CODE_UNEXPECTED_ERROR |
Constructor Summary |
MqttSecurityException(int reasonCode)
Constructs a new MqttSecurityException with the specified code
as the underlying reason. |
MqttSecurityException(int reasonCode,
Throwable cause)
Constructs a new MqttSecurityException with the specified
code and Throwable as the underlying reason. |
MqttSecurityException(Throwable cause)
Constructs a new MqttSecurityException with the specified
Throwable as the underlying reason. |
MqttSecurityException
public MqttSecurityException(int reasonCode)
- Constructs a new
MqttSecurityException
with the specified code
as the underlying reason.
- Parameters:
reasonCode
- the reason code for the exception.
MqttSecurityException
public MqttSecurityException(Throwable cause)
- Constructs a new
MqttSecurityException
with the specified
Throwable
as the underlying reason.
- Parameters:
cause
- the underlying cause of the exception.
MqttSecurityException
public MqttSecurityException(int reasonCode,
Throwable cause)
- Constructs a new
MqttSecurityException
with the specified
code and Throwable
as the underlying reason.
- Parameters:
reasonCode
- the reason code for the exception.cause
- the underlying cause of the exception.
Copyright © 2013. All Rights Reserved.