Class HttpRequestException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.oorian.apis.HttpRequestException
All Implemented Interfaces:
Serializable

public class HttpRequestException extends Exception
Exception thrown when an HTTP request fails due to a network error, timeout, or non-successful response status code.
See Also:
  • Constructor Details

    • HttpRequestException

      public HttpRequestException(Throwable cause)
      Creates a new exception wrapping the specified cause.
      Parameters:
      cause - the underlying exception.
    • HttpRequestException

      public HttpRequestException(String message)
      Creates a new exception with the specified error message.
      Parameters:
      message - the error message.