Class NotFoundException

All Implemented Interfaces:
Serializable

public class NotFoundException extends ClientErrorException

資源不存在異常(HTTP 404)

表示伺服器找不到請求的資源。

See Also:
  • Constructor Details

    • NotFoundException

      public NotFoundException()
      建立資源不存在異常
    • NotFoundException

      public NotFoundException(String message)
      建立資源不存在異常
      Parameters:
      message - 錯誤訊息
    • NotFoundException

      public NotFoundException(String message, Throwable cause)
      建立資源不存在異常,包含原始異常
      Parameters:
      message - 錯誤訊息
      cause - 原始異常