Class UnknownSubscriptionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aquima.interactions.foundation.exception.AppException
com.aquima.web.api.exception.UnknownSubscriptionException
All Implemented Interfaces:
Serializable

public class UnknownSubscriptionException extends com.aquima.interactions.foundation.exception.AppException
Exception that is used by the subscription manager when a subscription is requested with an unknown id.
Since:
9.2
Author:
Nicky van Noorloos
See Also:
  • Constructor Details

    • UnknownSubscriptionException

      public UnknownSubscriptionException(String subscriptionId)
      Create an exception with the subscription id that does not correspond to a valid subscription.
      Parameters:
      subscriptionId - The requested subscription id.
  • Method Details

    • getSubscriptionId

      public String getSubscriptionId()
      This method returns the subscription id that has not correspond to a valid subscription.
      Returns:
      The requested subscription id, may be null.