Class InvalidTopicException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidTopicException
    extends java.lang.Exception
    This exception is used to signal that a given topic filter is invalid.
    Since:
    4.0.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      InvalidTopicException​(@NotNull java.lang.String topicFilter)
      Creates a new InvalidTopicException that will not contain a stacktrace.
      InvalidTopicException​(@NotNull java.lang.String topicFilter, boolean fillInStacktrace)
      Creates a new InvalidTopicException.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull java.lang.Throwable fillInStackTrace()  
      @NotNull java.lang.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InvalidTopicException

        public InvalidTopicException​(@NotNull java.lang.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
      • InvalidTopicException

        public InvalidTopicException​(@NotNull java.lang.String topicFilter)
        Creates a new InvalidTopicException that will not contain a stacktrace.
        Parameters:
        topicFilter - The invalid topic filter.
        Since:
        4.0.0
    • Method Detail

      • fillInStackTrace

        public @NotNull java.lang.Throwable fillInStackTrace()
        Overrides:
        fillInStackTrace in class java.lang.Throwable
      • getTopicFilter

        public @NotNull java.lang.String getTopicFilter()
        Returns the invalid topic filter.
        Returns:
        The invalid topic filter.
        Since:
        4.0.0