Class ApiException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.amilesend.tvdb.client.ApiException
All Implemented Interfaces:
Serializable

public class ApiException extends Exception
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