Class InvalidSealedStateException

All Implemented Interfaces:
Serializable

Thrown when a sealed value cannot be opened.

Every failure to open a sealed value throws this one exception, with the same fixed message, no cause and nothing suppressed: a value that was tampered with, truncated, malformed, sealed for a different context, sealed under a key that is not configured, or expired. The exception deliberately does not say which, so it cannot help anyone probe the sealer.

Its category is ErrorCategory.VALIDATION_FAILURE, and it is never transient: retrying with the same sealed value always fails the same way.

Since:
1.0.0
Author:
Mark Allen
See Also: