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
Modifier and Type Method Description @NotNull ThrowablefillInStackTrace()@NotNull StringgetTopicFilter()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 Details
-
InvalidTopicException
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
-
InvalidTopicException
Creates a new InvalidTopicException that will not contain a stacktrace.- Parameters:
topicFilter- The invalid topic filter.- Since:
- 4.0.0, CE 2019.1
-
-
Method Details
-
fillInStackTrace
- Overrides:
fillInStackTracein classThrowable
-
getTopicFilter
Returns the invalid topic filter.- Returns:
- The invalid topic filter.
- Since:
- 4.0.0, CE 2019.1
-