Google Data APIs Client Library



com.google.gdata.util
Class NotAcceptableException

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.NotAcceptableException
All Implemented Interfaces:
java.io.Serializable

public class NotAcceptableException
extends ServiceException

Thrown by a service provider when the resource identified by the request is only capable of generating response entities which have content characteristics not acceptable according to the accept headers sent in the request.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.google.gdata.util.ServiceException
httpErrorCodeOverride, responseBody, responseContentType
 
Constructor Summary
NotAcceptableException()
           
NotAcceptableException(java.net.HttpURLConnection httpConn)
           
NotAcceptableException(java.lang.String message)
           
 
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

NotAcceptableException

public NotAcceptableException()

NotAcceptableException

public NotAcceptableException(java.lang.String message)

NotAcceptableException

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