Class NoSuchClientIdException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.hivemq.extension.sdk.api.services.exception.NoSuchClientIdException
-
- All Implemented Interfaces:
Serializable
public class NoSuchClientIdException extends Exception
This exception is used to signal that a given MQTT ClientId is unknown to the broker in the given context.- Since:
- 4.0.0, CE 2019.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoSuchClientIdException(@NotNull String clientId)
Creates a new NoSuchClientException that will not contain a stacktrace.NoSuchClientIdException(@NotNull String clientId, boolean fillInStacktrace)
Creates a new NoSuchClientException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Throwable
fillInStackTrace()
@NotNull String
getClientId()
Returns the unknown MQTT ClientId.-
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NoSuchClientIdException
public NoSuchClientIdException(@NotNull String clientId, boolean fillInStacktrace)
Creates a new NoSuchClientException.- Parameters:
clientId
- The not available MQTT ClientId.fillInStacktrace
- Whether the created exception should fill in a stacktrace- Since:
- 4.0.0, CE 2019.1
-
-