Google Data APIs Client Library (1.41.1)



com.google.gdata.util
Class UnsupportedMediaTypeException

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

public class UnsupportedMediaTypeException
extends ServiceException

The UnsupportedMediaTypeException will be thrown by a GData service when a GData request body contains a media type that is not supported by the service.

See Also:
Serialized Form

Constructor Summary
UnsupportedMediaTypeException(ErrorDomain.ErrorCode errorCode)
           
UnsupportedMediaTypeException(ErrorDomain.ErrorCode errorCode, java.lang.Throwable cause)
           
UnsupportedMediaTypeException(java.net.HttpURLConnection httpConn)
           
UnsupportedMediaTypeException(java.lang.String message)
           
UnsupportedMediaTypeException(java.lang.String message, java.lang.Throwable cause)
           
UnsupportedMediaTypeException(java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class com.google.gdata.util.ServiceException
addSibling, getCodeName, getDebugInfo, getDomainName, getExtendedHelp, getHttpErrorCodeOverride, getHttpHeader, getHttpHeaders, getInternalReason, getLocation, getLocationType, getMessage, getOAuthProxyResponse, getResponseBody, getResponseContentType, getSendReport, getSiblings, hasOAuthProxyResponse, initCause, matches, matchesAny, setCode, setDebugInfo, setDomain, setExtendedHelp, setHeaderLocation, setHttpErrorCodeOverride, setInternalReason, setLocation, setResponse, setResponseBody, setResponseContentType, setSendReport, setXpathLocation, toString, toXmlErrorMessage, toXmlErrorMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsupportedMediaTypeException

public UnsupportedMediaTypeException(java.lang.String message)

UnsupportedMediaTypeException

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

UnsupportedMediaTypeException

public UnsupportedMediaTypeException(java.lang.Throwable cause)

UnsupportedMediaTypeException

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

UnsupportedMediaTypeException

public UnsupportedMediaTypeException(ErrorDomain.ErrorCode errorCode)

UnsupportedMediaTypeException

public UnsupportedMediaTypeException(ErrorDomain.ErrorCode errorCode,
                                     java.lang.Throwable cause)