Class ApiException

All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-09-23T16:19:57.008753975Z[Etc/UTC]", comments="Generator version: 7.8.0") public class ApiException extends RuntimeException
See Also:
  • Constructor Details

  • Method Details

    • getCode

      public int getCode()
      Get the HTTP status code.
      Returns:
      HTTP status code
    • getResponseHeaders

      public Map<String,List<String>> getResponseHeaders()
      Get the HTTP response headers.
      Returns:
      A map of list of string
    • getResponseBody

      public String getResponseBody()
      Get the HTTP response body.
      Returns:
      Response body in the form of string
    • toString

      public String toString()
      Overrides:
      toString in class Throwable