Class MqttException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MqttException
    extends java.lang.RuntimeException
    This exception will be thrown by any exceptional cases encountered within the JNI bindings to the AWS Common Runtime
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MqttException​(int errorCode)  
      MqttException​(java.lang.String msg)  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

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

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MqttException

        public MqttException​(java.lang.String msg)
        Parameters:
        msg - mqtt exception message
      • MqttException

        public MqttException​(int errorCode)
        Parameters:
        errorCode - native CRT error code indicating the reason for the exception