Class MethodNotAllowedException

All Implemented Interfaces:
Serializable

public class MethodNotAllowedException extends RestApiException
Method is not acceptable on the resource (HTTP 405 Method Not Allowed).
See Also:
  • Constructor Details

    • MethodNotAllowedException

      public MethodNotAllowedException(String msg)
      Parameters:
      msg - error text for client describing why the method is not allowed.
    • MethodNotAllowedException

      public MethodNotAllowedException(String msg, Throwable cause)
      Parameters:
      msg - error text for client describing why the method is not allowed.
      cause - reason for the method not being allowed.