public class MqttDecoderException
extends java.lang.Exception
Constructor and Description |
---|
MqttDecoderException(@NotNull Mqtt5DisconnectReasonCode reasonCode,
@NotNull java.lang.String message)
Creates a new Decoder exception with the given Disconnect reason code and message.
|
MqttDecoderException(@NotNull java.lang.String message)
Creates a new Decoder exception with the Disconnect reason code
Mqtt5DisconnectReasonCode.MALFORMED_PACKET . |
Modifier and Type | Method and Description |
---|---|
@NotNull Mqtt5DisconnectReasonCode |
getReasonCode() |
public MqttDecoderException(@NotNull @NotNull Mqtt5DisconnectReasonCode reasonCode, @NotNull @NotNull java.lang.String message)
reasonCode
- the reason code of the decoder exception.message
- the description of the decoder exception.public MqttDecoderException(@NotNull @NotNull java.lang.String message)
Mqtt5DisconnectReasonCode.MALFORMED_PACKET
.message
- the description of the decoder exception.@NotNull public @NotNull Mqtt5DisconnectReasonCode getReasonCode()