Package edu.ucsb.cs.scaffold.errors
Class NoSuchKeyVersionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
edu.ucsb.cs.scaffold.errors.NoSuchKeyVersionException
- All Implemented Interfaces:
Serializable
Thrown when a stored PAT was encrypted under a key version for which no key material is currently
configured (e.g. PREVIOUS_PAT_ENCRYPTION_KEY was removed before the rotate-keys job re-encrypted
every credential). The affected credential cannot be decrypted; the user must re-enter their PAT
unless the missing key is restored.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoSuchKeyVersionException
public NoSuchKeyVersionException(int keyVersion)
-