public class

UnsupportedMediaTypeException

extends ServiceException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.google.gdata.util.ServiceException
         ↳ com.google.gdata.util.UnsupportedMediaTypeException

Class Overview

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.

Summary

[Expand]
Inherited Constants
From class java.lang.Exception
From class java.lang.Throwable
[Expand]
Inherited Fields
From class com.google.gdata.util.ServiceException
From class java.lang.Throwable
Public Constructors
UnsupportedMediaTypeException(String message)
UnsupportedMediaTypeException(String message, Throwable cause)
UnsupportedMediaTypeException(Throwable cause)
UnsupportedMediaTypeException(HttpURLConnection httpConn)
UnsupportedMediaTypeException(ErrorDomain.ErrorCode errorCode)
UnsupportedMediaTypeException(ErrorDomain.ErrorCode errorCode, Throwable cause)
[Expand]
Inherited Methods
From class com.google.gdata.util.ServiceException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public UnsupportedMediaTypeException (String message)

Parameters
message

public UnsupportedMediaTypeException (String message, Throwable cause)

Parameters
message
cause

public UnsupportedMediaTypeException (Throwable cause)

Parameters
cause

public UnsupportedMediaTypeException (HttpURLConnection httpConn)

Parameters
httpConn
Throws
IOException

public UnsupportedMediaTypeException (ErrorDomain.ErrorCode errorCode)

Parameters
errorCode

public UnsupportedMediaTypeException (ErrorDomain.ErrorCode errorCode, Throwable cause)

Parameters
errorCode
cause