Package io.vertx.mqtt
Class MqttException
- java.lang.Object
-
- java.lang.Throwable
-
- io.vertx.mqtt.MqttException
-
- All Implemented Interfaces:
Serializable
public class MqttException extends Throwable
Exception raised with a specific reason code- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
MQTT_INFLIGHT_QUEUE_FULL
static int
MQTT_INVALID_TOPIC_FILTER
static int
MQTT_INVALID_TOPIC_NAME
-
Constructor Summary
Constructors Constructor Description MqttException(int code)
ConstructorMqttException(int code, String message)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
code()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
MQTT_INVALID_TOPIC_NAME
public static final int MQTT_INVALID_TOPIC_NAME
- See Also:
- Constant Field Values
-
MQTT_INVALID_TOPIC_FILTER
public static final int MQTT_INVALID_TOPIC_FILTER
- See Also:
- Constant Field Values
-
MQTT_INFLIGHT_QUEUE_FULL
public static final int MQTT_INFLIGHT_QUEUE_FULL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MqttException
public MqttException(int code)
Constructor- Parameters:
code
- reason code for the exception
-
MqttException
public MqttException(int code, String message)
Constructor- Parameters:
code
- reason code for the exceptionmessage
- detailed message for the exception
-
-