org.odata4j.exceptions
Class UnsupportedMediaTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.odata4j.exceptions.ODataProducerException
                  extended by org.odata4j.exceptions.UnsupportedMediaTypeException
All Implemented Interfaces:
Serializable

public class UnsupportedMediaTypeException
extends ODataProducerException

See Also:
Serialized Form

Nested Class Summary
static class UnsupportedMediaTypeException.Factory
           
 
Constructor Summary
UnsupportedMediaTypeException()
           
UnsupportedMediaTypeException(String message)
           
UnsupportedMediaTypeException(String message, Throwable cause)
           
UnsupportedMediaTypeException(Throwable cause)
           
 
Method Summary
 Response.StatusType getHttpStatus()
          Gets the HTTP status.
 
Methods inherited from class org.odata4j.exceptions.ODataProducerException
code, getOError, innerError, message
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsupportedMediaTypeException

public UnsupportedMediaTypeException()

UnsupportedMediaTypeException

public UnsupportedMediaTypeException(String message)

UnsupportedMediaTypeException

public UnsupportedMediaTypeException(String message,
                                     Throwable cause)

UnsupportedMediaTypeException

public UnsupportedMediaTypeException(Throwable cause)
Method Detail

getHttpStatus

public Response.StatusType getHttpStatus()
Description copied from class: ODataProducerException
Gets the HTTP status.

Specified by:
getHttpStatus in class ODataProducerException
Returns:
the HTTP status
See Also:
Response.Status


http://odata4j.org