Class InvalidCancellationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.broadleafcommerce.subscription.web.endpoint.exception.InvalidCancellationException
All Implemented Interfaces:
Serializable

@ResponseStatus(value=BAD_REQUEST, reason="Subscription Already Cancelled") public class InvalidCancellationException extends RuntimeException
Exception thrown by SubscriptionService to signify that the request to cancel a subscription was invalid. Likely, the given subscription is already being cancelled or is cancelled.
See Also:
  • Constructor Details

    • InvalidCancellationException

      public InvalidCancellationException(String message)
    • InvalidCancellationException

      public InvalidCancellationException()
    • InvalidCancellationException

      public InvalidCancellationException(String message, Throwable cause)
    • InvalidCancellationException

      public InvalidCancellationException(Throwable cause)