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