Class FailedCredentialReloadEvent

All Implemented Interfaces:
Serializable

public class FailedCredentialReloadEvent extends AbstractCredentialMonitoringEvent
Event that is signalled when a credential has been reloaded with an error.
Author:
Martin Lindström
See Also:
  • Constructor Details

    • FailedCredentialReloadEvent

      public FailedCredentialReloadEvent(@Nonnull String credentialName, @Nonnull String error, @Nullable String exception)
      Constructor.
      Parameters:
      credentialName - the name of the credential that was reloaded
      error - the error message
      exception - the name of the exception that led to the error
  • Method Details

    • getError

      @Nonnull public String getError()
      Gets the error message for the test.
      Returns:
      the error message for the test
    • getException

      @Nullable public String getException()
      Gets the name of the exception that led to the error.
      Returns:
      the name of the exception that led to the error, or null