Package com.aquima.web.api.exception
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnknownSubscriptionException(String subscriptionId)
Create an exception with the subscription id that does not correspond to a valid subscription.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSubscriptionId()
This method returns the subscription id that has not correspond to a valid subscription.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
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 Detail
-
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.
-
-