Package io.rdapapi.client.exceptions
Class RequestFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.rdapapi.client.exceptions.RdapApiException
io.rdapapi.client.exceptions.RequestFailedException
- All Implemented Interfaces:
Serializable
Thrown when the request body fails validation (HTTP 422,
request_failed).
getErrors() names the offending fields — domains is the usual key on a bulk
lookup, and follow, whois or domains.N can also appear.
- 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
-
RequestFailedException
-
-
Method Details
-
getErrors
Per-field validation messages keyed by field path. Empty when the server named no field.
-