Class FailedCredentialTestEvent

All Implemented Interfaces:
Serializable

public class FailedCredentialTestEvent extends AbstractCredentialMonitoringEvent
Event that is signalled when a credential has been tested and the test failed.
Author:
Martin Lindström
See Also:
  • Constructor Details

    • FailedCredentialTestEvent

      public FailedCredentialTestEvent(@Nonnull String credentialName, @Nonnull String error, @Nullable String exception)
      Constructor.
      Parameters:
      credentialName - the name of the credential that was tested
      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