org.jboss.resteasy.spi
Class UnsupportedMediaTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jboss.resteasy.spi.Failure
                  extended by org.jboss.resteasy.spi.LoggableFailure
                      extended by org.jboss.resteasy.spi.UnsupportedMediaTypeException
All Implemented Interfaces:
java.io.Serializable

public class UnsupportedMediaTypeException
extends LoggableFailure

Thrown by RESTEasy when HTTP Unsupported Media Type (415) is encountered

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.resteasy.spi.Failure
errorCode, loggable, response
 
Constructor Summary
UnsupportedMediaTypeException(java.lang.String s)
           
UnsupportedMediaTypeException(java.lang.String s, Response response)
           
UnsupportedMediaTypeException(java.lang.String s, java.lang.Throwable throwable)
           
UnsupportedMediaTypeException(java.lang.String s, java.lang.Throwable throwable, Response response)
           
UnsupportedMediaTypeException(java.lang.Throwable throwable)
           
UnsupportedMediaTypeException(java.lang.Throwable throwable, Response response)
           
 
Method Summary
 
Methods inherited from class org.jboss.resteasy.spi.Failure
getErrorCode, getResponse, isLoggable, setErrorCode, setLoggable
 
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(java.lang.String s)

UnsupportedMediaTypeException

public UnsupportedMediaTypeException(java.lang.String s,
                                     Response response)

UnsupportedMediaTypeException

public UnsupportedMediaTypeException(java.lang.String s,
                                     java.lang.Throwable throwable,
                                     Response response)

UnsupportedMediaTypeException

public UnsupportedMediaTypeException(java.lang.String s,
                                     java.lang.Throwable throwable)

UnsupportedMediaTypeException

public UnsupportedMediaTypeException(java.lang.Throwable throwable)

UnsupportedMediaTypeException

public UnsupportedMediaTypeException(java.lang.Throwable throwable,
                                     Response response)


Copyright © 2009. All Rights Reserved.