Class NotAllowedException

All Implemented Interfaces:
Serializable

public class NotAllowedException extends ClientErrorException

方法不允許異常(HTTP 405)

表示請求方法不被允許用於指定的資源。

See Also:
  • Constructor Details

    • NotAllowedException

      public NotAllowedException(String message)
      建立方法不允許異常
      Parameters:
      message - 錯誤訊息
    • NotAllowedException

      public NotAllowedException(String message, Throwable cause)
      建立方法不允許異常,包含原始異常
      Parameters:
      message - 錯誤訊息
      cause - 原始異常