public class MqttException extends Throwable
Modifier and Type | Field and Description |
---|---|
static int |
MQTT_INFLIGHT_QUEUE_FULL |
static int |
MQTT_INVALID_TOPIC_FILTER |
static int |
MQTT_INVALID_TOPIC_NAME |
Constructor and Description |
---|
MqttException(int code)
Constructor
|
MqttException(int code,
String message)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
code() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int MQTT_INVALID_TOPIC_NAME
public static final int MQTT_INVALID_TOPIC_FILTER
public static final int MQTT_INFLIGHT_QUEUE_FULL
public MqttException(int code)
code
- reason code for the exceptionpublic MqttException(int code, String message)
code
- reason code for the exceptionmessage
- detailed message for the exceptionCopyright © 2023 Eclipse. All rights reserved.