net.degreedays.api
Class RequestFailureException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.degreedays.api.DegreeDaysApiException
                  extended by net.degreedays.api.FailureException
                      extended by net.degreedays.api.RequestFailureException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InvalidRequestException, LocationException, RateLimitException, ServiceException

public abstract class RequestFailureException
extends FailureException

Superclass of exceptions that indicate that the API's processing of a request resulted in a Failure.

The key point here is that the API servers were not able to process the request at all, and their response contained only:

This abstract class is not designed to be extended by third-party code, which is why it does not have an accessible constructor.


Method Summary
 ResponseMetadata responseMetadata()
          Returns the non-null metadata from the FailureResponse that brought details of this failure back from the API servers.
 
Methods inherited from class net.degreedays.api.FailureException
failure, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

responseMetadata

public ResponseMetadata responseMetadata()
Returns the non-null metadata from the FailureResponse that brought details of this failure back from the API servers.



www.degreedays.net/api/