Package org.jboss.resteasy.spi
Class UnsupportedMediaTypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jboss.resteasy.spi.Failure
-
- org.jboss.resteasy.spi.LoggableFailure
-
- org.jboss.resteasy.spi.UnsupportedMediaTypeException
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated public class UnsupportedMediaTypeException extends LoggableFailure
Deprecated.Replaced by javax.ws.rs.NotSupportedException in jaxrs-api module.Thrown by RESTEasy when HTTP Unsupported Media Type (415) is encountered JAX-RS now has this exception- See Also:
NotSupportedException
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnsupportedMediaTypeException(java.lang.String s)
Deprecated.UnsupportedMediaTypeException(java.lang.String s, java.lang.Throwable throwable)
Deprecated.UnsupportedMediaTypeException(java.lang.String s, java.lang.Throwable throwable, javax.ws.rs.core.Response response)
Deprecated.UnsupportedMediaTypeException(java.lang.String s, javax.ws.rs.core.Response response)
Deprecated.UnsupportedMediaTypeException(java.lang.Throwable throwable)
Deprecated.UnsupportedMediaTypeException(java.lang.Throwable throwable, javax.ws.rs.core.Response response)
Deprecated.
-
Method Summary
-
Methods inherited from class org.jboss.resteasy.spi.Failure
getErrorCode, getResponse, isLoggable, setErrorCode, setLoggable, setResponse
-
-
-
-
Constructor Detail
-
UnsupportedMediaTypeException
public UnsupportedMediaTypeException(java.lang.String s)
Deprecated.
-
UnsupportedMediaTypeException
public UnsupportedMediaTypeException(java.lang.String s, javax.ws.rs.core.Response response)
Deprecated.
-
UnsupportedMediaTypeException
public UnsupportedMediaTypeException(java.lang.String s, java.lang.Throwable throwable, javax.ws.rs.core.Response response)
Deprecated.
-
UnsupportedMediaTypeException
public UnsupportedMediaTypeException(java.lang.String s, java.lang.Throwable throwable)
Deprecated.
-
UnsupportedMediaTypeException
public UnsupportedMediaTypeException(java.lang.Throwable throwable)
Deprecated.
-
UnsupportedMediaTypeException
public UnsupportedMediaTypeException(java.lang.Throwable throwable, javax.ws.rs.core.Response response)
Deprecated.
-
-