GiniHealthException

public class GiniHealthException extends Exception

Exception thrown by Gini SDK operations.

This class extends Exception to ensure backward compatibility.

Constructors

Link copied to clipboard
public GiniHealthException GiniHealthException(String message, Throwable cause, Integer statusCode, ErrorResponse errorResponse)

Properties

Link copied to clipboard
private final Throwable cause
Link copied to clipboard
private final List<ErrorItem> errorItems

All error items with codes, messages, and affected document/request IDs.

Link copied to clipboard
private final ErrorResponse errorResponse

Parsed error response object with detailed error information

Link copied to clipboard
private final String message
Link copied to clipboard
private final String parsedMessage

Human-readable parsed error message extracted from the error response.

Link copied to clipboard
private final String requestId

Request ID for support tracking. Provide this when contacting support for help with errors.

Link copied to clipboard
private final Integer statusCode

HTTP status code from the API response

Functions

Link copied to clipboard
public final Unit addSuppressed(Throwable p0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final List<ErrorItem> getErrorItems()
Link copied to clipboard
public final ErrorResponse getErrorResponse()

Parsed error response object with detailed error information

Link copied to clipboard
Link copied to clipboard
public String getMessage()
Link copied to clipboard
public final String getParsedMessage()
Link copied to clipboard
public final String getRequestId()
Link copied to clipboard
Link copied to clipboard
public final Integer getStatusCode()

HTTP status code from the API response

Link copied to clipboard
public final Array<Throwable> getSuppressed()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard