Class FailedCredentialReloadEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
se.swedenconnect.security.credential.spring.monitoring.events.AbstractCredentialMonitoringEvent
se.swedenconnect.security.credential.spring.monitoring.events.FailedCredentialReloadEvent
- All Implemented Interfaces:
Serializable
Event that is signalled when a credential has been reloaded with an error.
- Author:
- Martin Lindström
- See Also:
-
Field Summary
Fields inherited from class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionFailedCredentialReloadEvent(String credentialName, String error, String exception) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetError()Gets the error message for the test.Gets the name of the exception that led to the error.Methods inherited from class AbstractCredentialMonitoringEvent
getCredentialNameMethods inherited from class ApplicationEvent
getTimestampMethods inherited from class EventObject
getSource, toString
-
Constructor Details
-
FailedCredentialReloadEvent
-
-
Method Details
-
getError
Gets the error message for the test.- Returns:
- the error message for the test
-
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
-