Class MethodNotAllowedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.soklet.web.exception.MethodNotAllowedException
All Implemented Interfaces:
Serializable

public class MethodNotAllowedException extends RuntimeException
Indicates that an HTTP request was made with an incorrect method.

Example: the client specified POST instead of PUT.

This normally corresponds to an HTTP 405 response.

Since:
1.0.0
Author:
Mark Allen
See Also:
  • Constructor Details

    • MethodNotAllowedException

      public MethodNotAllowedException(String message)
    • MethodNotAllowedException

      public MethodNotAllowedException(Throwable cause)
    • MethodNotAllowedException

      public MethodNotAllowedException(String message, Throwable cause)