Class CredentialRotationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.maybeitssquid.rotatingsecrets.CredentialRotationException
- All Implemented Interfaces:
Serializable
Exception thrown when credential rotation fails.
This exception wraps underlying errors that occur during the credential rotation process, such as failures to update connection pool credentials or refresh pool connections.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCredentialRotationException(String message, Throwable cause) Creates a new credential rotation exception with the specified message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CredentialRotationException
Creates a new credential rotation exception with the specified message and cause.- Parameters:
message- detailed description of the rotation failurecause- the underlying exception that caused the failure
-