org.cruxframework.crux.core.server.rest.spi
Class MethodNotAllowedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.cruxframework.crux.core.server.rest.spi.RestFailure
                  extended by org.cruxframework.crux.core.server.rest.spi.MethodNotAllowedException
All Implemented Interfaces:
Serializable

public class MethodNotAllowedException
extends RestFailure

Thrown when HTTP Method Not Allowed (405) is encountered

See Also:
Serialized Form

Constructor Summary
MethodNotAllowedException(String s)
           
MethodNotAllowedException(String s, String resp)
           
MethodNotAllowedException(String s, String resp, Throwable throwable)
           
MethodNotAllowedException(String s, Throwable throwable)
           
MethodNotAllowedException(Throwable throwable)
           
 
Method Summary
 
Methods inherited from class org.cruxframework.crux.core.server.rest.spi.RestFailure
getResponseCode, getResponseMessage, setResponseMessage
 
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(String s)

MethodNotAllowedException

public MethodNotAllowedException(String s,
                                 Throwable throwable)

MethodNotAllowedException

public MethodNotAllowedException(String s,
                                 String resp,
                                 Throwable throwable)

MethodNotAllowedException

public MethodNotAllowedException(String s,
                                 String resp)

MethodNotAllowedException

public MethodNotAllowedException(Throwable throwable)


Copyright © 2015. All rights reserved.