Package software.amazon.awssdk.crt.mqtt
Class MqttException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- software.amazon.awssdk.crt.mqtt.MqttException
-
- All Implemented Interfaces:
Serializable
public class MqttException extends 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(String msg)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MqttException
public MqttException(String msg)
- Parameters:
msg
- mqtt exception message
-
MqttException
public MqttException(int errorCode)
- Parameters:
errorCode
- native CRT error code indicating the reason for the exception
-
-