Class CredentialRotationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.maybeitssquid.rotatingsecrets.CredentialRotationException
All Implemented Interfaces:
Serializable

public class CredentialRotationException extends RuntimeException
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 Details

    • CredentialRotationException

      public CredentialRotationException(String message, Throwable cause)
      Creates a new credential rotation exception with the specified message and cause.
      Parameters:
      message - detailed description of the rotation failure
      cause - the underlying exception that caused the failure