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:
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(String s)
           
UnsupportedMediaTypeException(String s, Response response)
           
UnsupportedMediaTypeException(String s, Throwable throwable)
           
UnsupportedMediaTypeException(String s, Throwable throwable, Response response)
           
UnsupportedMediaTypeException(Throwable throwable)
           
UnsupportedMediaTypeException(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(String s)

UnsupportedMediaTypeException

public UnsupportedMediaTypeException(String s,
                                     Response response)

UnsupportedMediaTypeException

public UnsupportedMediaTypeException(String s,
                                     Throwable throwable,
                                     Response response)

UnsupportedMediaTypeException

public UnsupportedMediaTypeException(String s,
                                     Throwable throwable)

UnsupportedMediaTypeException

public UnsupportedMediaTypeException(Throwable throwable)

UnsupportedMediaTypeException

public UnsupportedMediaTypeException(Throwable throwable,
                                     Response response)


Copyright © 2011. All Rights Reserved.