Class SecretLeaseErrorEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.vault.core.lease.event.SecretLeaseEvent
org.springframework.vault.core.lease.event.SecretLeaseErrorEvent
- All Implemented Interfaces:
Serializable
Event published when caught an
Exception during secret retrieval and lease
interaction.- Author:
- Mark Paluch
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionSecretLeaseErrorEvent(RequestedSecret requestedSecret, @Nullable Lease lease, Throwable exception) -
Method Summary
Methods inherited from class org.springframework.vault.core.lease.event.SecretLeaseEvent
getLease, getSourceMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
SecretLeaseErrorEvent
public SecretLeaseErrorEvent(RequestedSecret requestedSecret, @Nullable Lease lease, Throwable exception) - Parameters:
requestedSecret- must not be null.lease- can be null.exception- must not be null.
-
-
Method Details
-
getException
-