Class SecretException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SecretConfigurationException, SecretInitialisationException, SecretInstantiationException, UnavailableSecretReferenceException

@EvolvingAll public abstract class SecretException extends RuntimeException
A class of exception arising from use of the secrets API.
Since:
AM 6.5.0
See Also:
  • Constructor Details

    • SecretException

      protected SecretException(String message)
      Construct a secret exception with the given message.
      Parameters:
      message - The message.
    • SecretException

      protected SecretException(String message, Throwable cause)
      Construct a secret exception with the given message and cause.
      Parameters:
      message - The message.
      cause - The cause.