Google Data APIs Client Library



com.google.gdata.util
Class ServiceUnavailableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.google.gdata.util.ServiceException
              extended by com.google.gdata.util.ServiceUnavailableException
All Implemented Interfaces:
java.io.Serializable

public class ServiceUnavailableException
extends ServiceException

Thrown when an exception occurs that is temporary; i.e., the user should try again. This includes failing backends, rate limiting, and so on.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.google.gdata.util.ServiceException
httpErrorCodeOverride, responseBody, responseContentType
 
Constructor Summary
ServiceUnavailableException(java.net.HttpURLConnection httpConn)
           
ServiceUnavailableException(java.lang.String message)
           
ServiceUnavailableException(java.lang.String message, java.lang.Throwable cause)
           
ServiceUnavailableException(java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class com.google.gdata.util.ServiceException
getHttpErrorCodeOverride, getHttpHeaders, getResponseBody, getResponseContentType, setHttpErrorCodeOverride, setResponseBody, setResponseContentType, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceUnavailableException

public ServiceUnavailableException(java.lang.String message)

ServiceUnavailableException

public ServiceUnavailableException(java.lang.String message,
                                   java.lang.Throwable cause)

ServiceUnavailableException

public ServiceUnavailableException(java.lang.Throwable cause)

ServiceUnavailableException

public ServiceUnavailableException(java.net.HttpURLConnection httpConn)
                            throws java.io.IOException
Throws:
java.io.IOException