Package io.rdapapi.client.exceptions
Class SubscriptionRequiredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.rdapapi.client.exceptions.RdapApiException
io.rdapapi.client.exceptions.SubscriptionRequiredException
- All Implemented Interfaces:
Serializable
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 Summary
Constructors -
Method Summary
Methods inherited from class io.rdapapi.client.exceptions.RdapApiException
getErrorCode, getStatusCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SubscriptionRequiredException
-