|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.eclipse.paho.client.mqttv3.MqttException
org.eclipse.paho.client.mqttv3.MqttPersistenceException
public class MqttPersistenceException
This exception is 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(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. |
Method Summary |
---|
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 |
---|
clone, equals, finalize, 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(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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |