Package org.jboss.resteasy.spi
Class NotAcceptableException
- 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.NotAcceptableException
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated public class NotAcceptableException extends LoggableFailure
Deprecated.Replaced by javax.ws.rs.NotAcceptableException in jaxrs-api module.Thrown by RESTEasy when HTTP Not Acceptable (406) is encountered JAX-RS now has this exception- See Also:
NotAcceptableException
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotAcceptableException(java.lang.String s)
Deprecated.NotAcceptableException(java.lang.String s, java.lang.Throwable throwable)
Deprecated.NotAcceptableException(java.lang.String s, java.lang.Throwable throwable, javax.ws.rs.core.Response response)
Deprecated.NotAcceptableException(java.lang.String s, javax.ws.rs.core.Response response)
Deprecated.NotAcceptableException(java.lang.Throwable throwable)
Deprecated.NotAcceptableException(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
-
NotAcceptableException
public NotAcceptableException(java.lang.String s)
Deprecated.
-
NotAcceptableException
public NotAcceptableException(java.lang.String s, javax.ws.rs.core.Response response)
Deprecated.
-
NotAcceptableException
public NotAcceptableException(java.lang.String s, java.lang.Throwable throwable, javax.ws.rs.core.Response response)
Deprecated.
-
NotAcceptableException
public NotAcceptableException(java.lang.String s, java.lang.Throwable throwable)
Deprecated.
-
NotAcceptableException
public NotAcceptableException(java.lang.Throwable throwable)
Deprecated.
-
NotAcceptableException
public NotAcceptableException(java.lang.Throwable throwable, javax.ws.rs.core.Response response)
Deprecated.
-
-