public enum MQTT3Error extends Enum<MQTT3Error> implements org.mule.runtime.extension.api.error.ErrorTypeDefinition<MQTT3Error>
MQTT3Connector| Enum Constant and Description |
|---|
CONNECTIVITY
Error related to the connection.
|
INVALID_CLIENT_ID
Error generating the client id.
|
INVALID_TOPIC
Error publishing message because an invalid topic was provided.
|
PERSISTENCE
Error publishing message because an error occurred while reading/writing
persistent data for reliable messaging.
|
PUBLISH
Error publishing message to broker.
|
UNAUTHORIZED
Error during authentication with mqtt broker.
|
WRITE_TIMEOUT
Error publishing message because socket threw write timeout.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> |
getParent() |
static MQTT3Error |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MQTT3Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MQTT3Error CONNECTIVITY
public static final MQTT3Error UNAUTHORIZED
public static final MQTT3Error INVALID_CLIENT_ID
public static final MQTT3Error PUBLISH
public static final MQTT3Error WRITE_TIMEOUT
public static final MQTT3Error PERSISTENCE
public static final MQTT3Error INVALID_TOPIC
public static MQTT3Error[] values()
for (MQTT3Error c : MQTT3Error.values()) System.out.println(c);
public static MQTT3Error valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> getParent()
getParent in interface org.mule.runtime.extension.api.error.ErrorTypeDefinition<MQTT3Error>Copyright © 2025 MuleSoft, Inc.. All rights reserved.