Class MethodNotAllowedException

All Implemented Interfaces:
Serializable

public class MethodNotAllowedException extends ProtocolException
Signals that an HTTP method is not allowed.
Since:
5.5
See Also:
  • Constructor Details

    • MethodNotAllowedException

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

      public MethodNotAllowedException(String message, Throwable cause)
      Creates a new MethodNotAllowedException with the specified detail message and cause.
      Parameters:
      message - the exception detail message
      cause - the Throwable that caused this exception, or null if the cause is unavailable, unknown, or not a Throwable