|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.eclipse.paho.client.mqttv3.MqttException org.eclipse.paho.client.mqttv3.MqttPersistenceException
This exception should be thrown by the implementor of the persistence interface if there is a problem reading or writing persistent data.
Field Summary | |
---|---|
static short |
REASON_CODE_PERSISTENCE_IN_USE
Persistence is already being used by another client. |
Constructor Summary | |
---|---|
MqttPersistenceException()
Constructs a new MqttPersistenceException |
|
MqttPersistenceException(int reasonCode)
Constructs a new MqttPersistenceException with the specified code
as the underlying reason. |
|
MqttPersistenceException(java.lang.Throwable cause)
Constructs a new MqttPersistenceException with the specified
Throwable as the underlying reason. |
Methods inherited from class org.eclipse.paho.client.mqttv3.MqttException |
---|
getCause, getMessage, getReasonCode, toString |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final short REASON_CODE_PERSISTENCE_IN_USE
Constructor Detail |
public MqttPersistenceException()
MqttPersistenceException
public MqttPersistenceException(int reasonCode)
MqttPersistenceException
with the specified code
as the underlying reason.
reasonCode
- the reason code for the exception.public MqttPersistenceException(java.lang.Throwable cause)
MqttPersistenceException
with the specified
Throwable
as the underlying reason.
cause
- the underlying cause of the exception.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |