Class DuplicateSubscriptionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.tccc.kos.commons.core.broker.DuplicateSubscriptionException
All Implemented Interfaces:
Serializable

public class DuplicateSubscriptionException extends RuntimeException
Exception thrown when a there's an attempt to create a subscription to a topic that already exists for the given session.
Since:
1.0
Version:
2022-08-30
See Also:
  • Constructor Details

    • DuplicateSubscriptionException

      public DuplicateSubscriptionException(String topic)
      Constructs a "duplicate subscription" exception associated with the given topic.
      Parameters:
      topic - the topic whose duplicate subscription was attempted