Package 

Class MqttPersistenceException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class MqttPersistenceException
    extends MqttException
                        

    This exception is thrown by the implementor of the persistence interface if there is a problem reading or writing persistent data.

    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class org.eclipse.paho.client.mqttv3.MqttException

        getCause, getMessage, getReasonCode, toString
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MqttPersistenceException

        MqttPersistenceException()
        Constructs a new MqttPersistenceException
      • MqttPersistenceException

        MqttPersistenceException(int reasonCode)
        Constructs a new MqttPersistenceException with the specified code as the underlying reason.
        Parameters:
        reasonCode - the reason code for the exception.
      • MqttPersistenceException

        MqttPersistenceException(Throwable cause)
        Constructs a new MqttPersistenceException with the specified Throwable as the underlying reason.
        Parameters:
        cause - the underlying cause of the exception.
      • MqttPersistenceException

        MqttPersistenceException(int reason, Throwable cause)
        Constructs a new MqttPersistenceException with the specified Throwable as the underlying reason.
        Parameters:
        reason - the reason code for the exception.
        cause - the underlying cause of the exception.