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:
-
Constructor Summary
ConstructorsConstructorDescriptionUnknownSubscriptionException
(String subscriptionId) Create an exception with the subscription id that does not correspond to a valid subscription. -
Method Summary
Modifier and TypeMethodDescriptionThis 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 Details
-
UnknownSubscriptionException
Create an exception with the subscription id that does not correspond to a valid subscription.- Parameters:
subscriptionId
- The requested subscription id.
-
-
Method Details
-
getSubscriptionId
This method returns the subscription id that has not correspond to a valid subscription.- Returns:
- The requested subscription id, may be null.
-