Class MethodNotAllowedException

All Implemented Interfaces:
Serializable, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap, org.refcodes.mixin.StatusCodeAccessor<HttpStatusCode>

public class MethodNotAllowedException extends HttpStatusException
The Class MethodNotAllowedException.
See Also:
  • Constructor Details

    • MethodNotAllowedException

      public MethodNotAllowedException(String aMessage, String aErrorCode)
      Instantiates a new method not allowed exception.
      Parameters:
      aMessage - the message
      aErrorCode - the error code
    • MethodNotAllowedException

      public MethodNotAllowedException(String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new method not allowed exception.
      Parameters:
      aMessage - the message
      aCause - the cause
      aErrorCode - the error code
    • MethodNotAllowedException

      public MethodNotAllowedException(String message, Throwable cause)
      Instantiates a new method not allowed exception.
      Parameters:
      message - the message
      cause - the cause
    • MethodNotAllowedException

      public MethodNotAllowedException(String message)
      Instantiates a new method not allowed exception.
      Parameters:
      message - the message
    • MethodNotAllowedException

      public MethodNotAllowedException(Throwable aCause, String aErrorCode)
      Instantiates a new method not allowed exception.
      Parameters:
      aCause - the cause
      aErrorCode - the error code
    • MethodNotAllowedException

      public MethodNotAllowedException(Throwable cause)
      Instantiates a new method not allowed exception.
      Parameters:
      cause - the cause