Uses of Class
org.jwcarman.codec.CodecException
Packages that use CodecException
Package
Description
The Codec API — the entire contract of
codec-core: Codec
encodes and decodes one type, CodecFactory produces codecs for any
type, and TypeRef captures parameterized types so generics survive
erasure.Envelope encryption as a
Codec<byte[]> transform: AES-256-GCM over a per-message data key
that is itself wrapped by a key-encryption key reached through the DataKeyProvider SPI (in-process JCE or a remote KMS).Format versioning for codecs: a magic-and-version header that lets an application change its
storage strategy without rewriting what it has already stored.
-
Uses of CodecException in org.jwcarman.codec
Subclasses of CodecException in org.jwcarman.codecModifier and TypeClassDescriptionclassThe payload handed toCodec.decode(byte[])is malformed, corrupt, or forged: bad framing, truncation, an authentication-tag or checksum mismatch, text outside an encoding's alphabet, a corrupt compressed stream, a payload that would expand past a size cap, or one that decodes to a type this codec does not produce.classThe value handed toCodec.encode(T)cannot be encoded: a type the backend has no serializer for, a cyclic object graph, a class the backend requires to be registered and is not.classSomething the codec depends on failed, and the input is not at fault: a key-management service timed out or throttled, a JCE provider cannot supply a transform, a compressor failed on valid input, or a provider returned something that violates its contract.classThe payload handed toCodec.decode(byte[])is well-formed, but names a format this reader cannot handle: a version or an algorithm identifier this instance was not built to understand — typically because a newer writer produced it. -
Uses of CodecException in org.jwcarman.codec.crypto
Subclasses of CodecException in org.jwcarman.codec.cryptoModifier and TypeClassDescriptionclassException indicating that the data provided for decryption is invalid or corrupted.classException indicating a failure during the encryption operation.classException indicating that key infrastructure is unavailable. -
Uses of CodecException in org.jwcarman.codec.versioned
Subclasses of CodecException in org.jwcarman.codec.versionedModifier and TypeClassDescriptionclassSignals that a payload carries valid versioned framing but names a version this codec has no codec registered for.classSignals that a buffer handed to a versioned codec is not a well-formed versioned payload: it is shorter than the three-byte header, or it does not carry the versioned magic.