Package co.ankatech.ankasecure.sdk.exception
package co.ankatech.ankasecure.sdk.exception
-
ClassDescriptionA uniform, localization-ready exception thrown by all public AnkaSecure SDK APIs.Thrown when a cryptographic operation fails due to local processing errors.Thrown when a file-output operation cannot commit its result because a file already exists at the destination and
FAIL_IF_EXISTS(the default) is in effect.A streaming request that requires HTTP/2 was about to be sent over a connection that negotiated something else, and was refused before any request byte was written.Thrown when input validation fails for SDK operations.Thrown by the auto-paginatinglistAllKeys(filters)when the server reports more pages than the SDK's defensive ceiling allows (ceil(totalElements/size)+1iterations, hard-capped at 10000 pages).High-level, protocol-agnostic error categories recognised by the SDK.Thrown when a streaming / atomic file-output operation cannot create its quarantine sidecar (<destination>.part) because a file already exists at the sidecar path — the signature of a stale sidecar orphaned by a prior crashed or force-killed operation (theCREATE_NEWsidecar is normally deleted on BOTH the success and the fail-closed paths, so a surviving one indicates an earlier abnormal termination).Thrown when a streaming file-output operation cannot commit its result because the server-emitted end-of-stream integrity verdict did not pass (fail-closed).The request body could not be written to completion, so nothing was committed.Thrown when the server rejects a previously-issued access token with HTTP 401 on a data-plane operation.