Class ApiException

All Implemented Interfaces:
Serializable

public class ApiException extends RuntimeException
This is the base class for all exceptions that represent an error response from the server.
See Also:
  • Constructor Details

    • ApiException

      public ApiException(int code)
    • ApiException

      public ApiException(String message)
    • ApiException

      public ApiException(String message, Throwable t)
    • ApiException

      public ApiException(int code, String message)
  • Method Details

    • getStatusCode

      public int getStatusCode()