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