Class MqttException
java.lang.Object
java.lang.Throwable
io.vertx.mqtt.MqttException
- All Implemented Interfaces:
Serializable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionMqttException(int code) ConstructorMqttException(int code, String message) Constructor -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
MQTT_INVALID_TOPIC_NAME
public static final int MQTT_INVALID_TOPIC_NAME- See Also:
-
MQTT_INVALID_TOPIC_FILTER
public static final int MQTT_INVALID_TOPIC_FILTER- See Also:
-
MQTT_INFLIGHT_QUEUE_FULL
public static final int MQTT_INFLIGHT_QUEUE_FULL- See Also:
-
MQTT_INVALID_MESSAGE_ID
public static final int MQTT_INVALID_MESSAGE_ID- See Also:
-
-
Constructor Details
-
MqttException
public MqttException(int code) Constructor- Parameters:
code- reason code for the exception
-
MqttException
Constructor- Parameters:
code- reason code for the exceptionmessage- detailed message for the exception
-
-
Method Details
-
code
public int code()- Returns:
- reason code for the exception
-