Package org.skr.config
Class ErrorOccurredEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.skr.config.ErrorOccurredEvent
- All Implemented Interfaces:
Serializable
public class ErrorOccurredEvent
extends org.springframework.context.ApplicationEvent
This event will be published when exception occurred.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionErrorOccurredEvent(Throwable throwable, org.springframework.web.context.request.WebRequest request) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.context.request.WebRequestMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ErrorOccurredEvent
public ErrorOccurredEvent(Throwable throwable, org.springframework.web.context.request.WebRequest request)
-
-
Method Details
-
getRequest
public org.springframework.web.context.request.WebRequest getRequest()
-