Class SubscriptionRequiredException

All Implemented Interfaces:
Serializable

public class SubscriptionRequiredException extends RdapApiException
Thrown when the request is refused for the account (HTTP 403).

Covers subscription_required, plan_upgrade_required and forbidden (a blocked IP, which subscribing does not lift). Read RdapApiException.getErrorCode() to tell them apart before telling anyone to subscribe.

See Also:
  • Constructor Details

    • SubscriptionRequiredException

      public SubscriptionRequiredException(String message, String errorCode)