Class MethodNotAllowedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.servlet.ServletException
com.blackrook.small.exception.request.MethodNotAllowedException
All Implemented Interfaces:
Serializable

public class MethodNotAllowedException extends javax.servlet.ServletException
Exception thrown when an HTTP request method is not supported.
Author:
Matthew Tropiano
See Also:
  • Constructor Details

    • MethodNotAllowedException

      public MethodNotAllowedException(String message)
      Creates a new exception.
      Parameters:
      message - the exception message.
    • MethodNotAllowedException

      public MethodNotAllowedException(String message, Throwable exception)
      Creates a new exception with a message.
      Parameters:
      message - the exception message.
      exception - the exception cause.