org.jboss.resteasy.spi
Class MethodNotAllowedException

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.MethodNotAllowedException
All Implemented Interfaces:
java.io.Serializable

public class MethodNotAllowedException
extends LoggableFailure

Thrown by RESTEasy when HTTP Method Not Allowed (405) is encountered

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.resteasy.spi.Failure
errorCode, loggable, response
 
Constructor Summary
MethodNotAllowedException(java.lang.String s)
           
MethodNotAllowedException(java.lang.String s, Response response)
           
MethodNotAllowedException(java.lang.String s, java.lang.Throwable throwable)
           
MethodNotAllowedException(java.lang.String s, java.lang.Throwable throwable, Response response)
           
MethodNotAllowedException(java.lang.Throwable throwable)
           
MethodNotAllowedException(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

MethodNotAllowedException

public MethodNotAllowedException(java.lang.String s)

MethodNotAllowedException

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

MethodNotAllowedException

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

MethodNotAllowedException

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

MethodNotAllowedException

public MethodNotAllowedException(java.lang.Throwable throwable)

MethodNotAllowedException

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


Copyright © 2010. All Rights Reserved.