public class MqttPersistenceException extends MqttException
| Modifier and Type | Field and Description |
|---|---|
static short |
REASON_CODE_PERSISTENCE_IN_USE
Persistence is already being used by another client.
|
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_DISCONNECTED_BUFFER_FULL, 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_SUBSCRIBE_FAILED, REASON_CODE_TOKEN_INUSE, REASON_CODE_UNEXPECTED_ERROR, REASON_CODE_WRITE_TIMEOUT| Constructor and Description |
|---|
MqttPersistenceException()
Constructs a new
MqttPersistenceException |
MqttPersistenceException(int reasonCode)
Constructs a new
MqttPersistenceException with the specified code
as the underlying reason. |
MqttPersistenceException(int reason,
Throwable cause)
Constructs a new
MqttPersistenceException with the specified
Throwable as the underlying reason. |
MqttPersistenceException(Throwable cause)
Constructs a new
MqttPersistenceException with the specified
Throwable as the underlying reason. |
getCause, getMessage, getReasonCode, toStringaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic static final short REASON_CODE_PERSISTENCE_IN_USE
public MqttPersistenceException()
MqttPersistenceExceptionpublic MqttPersistenceException(int reasonCode)
MqttPersistenceException with the specified code
as the underlying reason.reasonCode - the reason code for the exception.public MqttPersistenceException(Throwable cause)
MqttPersistenceException with the specified
Throwable as the underlying reason.cause - the underlying cause of the exception.public MqttPersistenceException(int reason,
Throwable cause)
MqttPersistenceException with the specified
Throwable as the underlying reason.reason - the reason code for the exception.cause - the underlying cause of the exception.Copyright © 2018 Eclipse Paho. All Rights Reserved.