Class ApiException

  • All Implemented Interfaces:
    Serializable

    @Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
               date="2023-10-20T08:04:15.848592Z[Etc/UTC]")
    public class ApiException
    extends RuntimeException
    See Also:
    Serialized Form
    • Method Detail

      • 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