Uses of Class
codes.grow.packages.graylog.core.GraylogException
Packages that use GraylogException
Package
Description
Grow Codes SDK for Graylog Open.
-
Uses of GraylogException in codes.grow.packages.graylog
Methods in codes.grow.packages.graylog that return GraylogExceptionModifier and TypeMethodDescriptionstatic GraylogExceptionOtlp.errorForGrpcStatus(int status, String message) Maps a gRPC status to the SDK error: CANCELLED (1), INVALID_ARGUMENT/FAILED_PRECONDITION (3, 9) VALIDATION, DEADLINE_EXCEEDED (4) TIMEOUT, NOT_FOUND (5), ALREADY_EXISTS (6) CONFLICT, PERMISSION_DENIED (7), RESOURCE_EXHAUSTED (8) RATE_LIMITED, UNIMPLEMENTED (12) UNSUPPORTED, UNAUTHENTICATED (16) AUTHENTICATION; ABORTED, OUT_OF_RANGE, UNAVAILABLE and DATA_LOSS (10, 11, 14, 15) retryable UNAVAILABLE; anything else non-retryable UNAVAILABLE.Methods in codes.grow.packages.graylog that return types with arguments of type GraylogExceptionModifier and TypeMethodDescriptionGelfSendResult.error()Returns the value of theerrorrecord component.Constructor parameters in codes.grow.packages.graylog with type arguments of type GraylogExceptionModifierConstructorDescriptionGelfSendResult(int sent, int rejected, Optional<GraylogException> error) Normalisesnullto empty. -
Uses of GraylogException in codes.grow.packages.graylog.core
Subclasses of GraylogException in codes.grow.packages.graylog.coreModifier and TypeClassDescriptionclassMissing or invalid credentials (HTTP 401).classThe caller cancelled the operation (future cancelled, thread interrupted, client closed).classInvalid or missing configuration.classConflicting write or check-and-set mismatch (HTTP 409, 412).classThe record does not exist (HTTP 404).classThe credentials lack a permission (HTTP 403).classThe service rate-limited the call (HTTP 429); seeretryAfter().classA connect, request or total deadline was exceeded (or HTTP 408, 504).classNetwork error or HTTP 500, 502, 503.classThe service or deployment does not offer this capability (HTTP 501).classThe request or a value is invalid (HTTP 400, 413, 422, other 4xx).Methods in codes.grow.packages.graylog.core that return GraylogExceptionModifier and TypeMethodDescriptionstatic GraylogExceptionHttpTransport.asSdkException(Throwable t, String operation) Converts any throwable from a future into the matching SDK exception.Hooks.ErrorInfo.error()Returns the value of theerrorrecord component.ErrorMapper.map(TransportResponse resp, GraylogException error) Maps a failed response.static GraylogExceptionGraylogException.of(ErrorCode code, String message, Integer httpStatus, String requestId, boolean retryable, Duration retryAfter, Throwable cause) Likeof(ErrorCode, String, Integer, String, Duration, Throwable)with an explicitretryableflag instead of the default of the code.static GraylogExceptionGraylogException.of(ErrorCode code, String message, Integer httpStatus, String requestId, Duration retryAfter, Throwable cause) Creates the subclass that matchescode.Methods in codes.grow.packages.graylog.core with parameters of type GraylogExceptionModifier and TypeMethodDescriptionstatic HealthStatusHealthCheck.fromError(GraylogException e) Maps a transport error tounreachable.ErrorMapper.map(TransportResponse resp, GraylogException error) Maps a failed response.Constructors in codes.grow.packages.graylog.core with parameters of type GraylogExceptionModifierConstructorDescriptionErrorInfo(String method, String url, GraylogException error, int attempt, boolean willRetry) Creates an instance of aErrorInforecord class. -
Uses of GraylogException in codes.grow.packages.graylog.logging
Methods in codes.grow.packages.graylog.logging that return types with arguments of type GraylogExceptionModifier and TypeMethodDescriptionExportResult.error()Returns the value of theerrorrecord component.Methods in codes.grow.packages.graylog.logging with parameters of type GraylogExceptionModifier and TypeMethodDescriptionstatic ExportResultExportResult.failure(int accepted, int rejected, GraylogException e) Some or all records failed.Constructor parameters in codes.grow.packages.graylog.logging with type arguments of type GraylogExceptionModifierConstructorDescriptionExportResult(int accepted, int rejected, Optional<GraylogException> error) Validates the result.