public abstract class RequestFailureException extends FailureException
Failure.
The key point here is that the API servers were not able to process the request at all, and their response contained only:
Failure object itself (accessible via
FailureException.failure()).responseMetadata() method
of this exception.This abstract class is not designed to be extended by third-party code, which is why it does not have an accessible constructor.
| Modifier and Type | Method and Description |
|---|---|
ResponseMetadata |
responseMetadata()
Returns the non-null metadata from the
FailureResponse that
brought details of this failure back from the API servers. |
failure, getMessagepublic ResponseMetadata responseMetadata()
FailureResponse that
brought details of this failure back from the API servers.
See www.degreedays.net/api/ for more about the Degree Days.net API.
You can sign up for a Degree Days.net API account and read the integration guide that is useful and applicable whether you are using Java or not.