Class ApiException

All Implemented Interfaces:
Serializable

public class ApiException extends RuntimeException
Exception thrown when Centrifugo API returns an error.
See Also:
  • Constructor Details

    • ApiException

      public ApiException(ApiError error, String responseBody, int statusCode)
  • Method Details

    • getError

      public ApiError getError()
    • getResponseBody

      public String getResponseBody()
    • getStatusCode

      public int getStatusCode()
    • getErrorCode

      public Integer getErrorCode()
    • getErrorMessage

      public String getErrorMessage()