Class AlgoliaApiException

All Implemented Interfaces:
Serializable

public class AlgoliaApiException extends AlgoliaRuntimeException
Exception thrown in case of API failure such as 4XX, 5XX error.
See Also:
  • Field Details

  • Constructor Details

    • AlgoliaApiException

      public AlgoliaApiException(String message, Throwable cause, int httpErrorCode)
    • AlgoliaApiException

      public AlgoliaApiException(String message, int httpErrorCode)
    • AlgoliaApiException

      public AlgoliaApiException(Throwable cause, int httpErrorCode)
  • Method Details

    • getHttpErrorCode

      public int getHttpErrorCode()