Class NotAcceptableException

All Implemented Interfaces:
Serializable

public class NotAcceptableException extends ClientErrorException

不可接受異常(HTTP 406)

表示伺服器無法產生客戶端可接受的回應。

See Also:
  • Constructor Details

    • NotAcceptableException

      public NotAcceptableException(String message)
      建立不可接受異常
      Parameters:
      message - 錯誤訊息
    • NotAcceptableException

      public NotAcceptableException(String message, Throwable cause)
      建立不可接受異常,包含原始異常
      Parameters:
      message - 錯誤訊息
      cause - 原始異常