Class MqttException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mqtt4j.hato.MqttException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MqttBrokerDisconnectException, MqttCapacityException, MqttConnectException, MqttConnectionLostException, MqttNotConnectedException, MqttProtocolException, MqttPublicationRefusedException, MqttSubscriptionRefusedException
Base class for failures of MQTT operations.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMqttException(String message) A failure with a detail message.protectedMqttException(String message, Throwable cause) A failure with a detail message and a cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MqttException
A failure with a detail message.- Parameters:
message- the detail message
-
MqttException
-