Interface ErrorLogEvent
public interface ErrorLogEvent
Define an interface to handle error log events propagated through UserEvent.
- Since:
- 1.2.6
- Author:
- raccoonback, Violeta Georgieva
-
Method Summary
Modifier and TypeMethodDescriptioncause()
Returns the throwable that occurred.static ErrorLogEvent
Creates a defaultErrorLogEvent
with the given throwable.
-
Method Details
-
create
Creates a defaultErrorLogEvent
with the given throwable.- Parameters:
t
- the throwable that occurred- Returns:
- a new
DefaultErrorLogEvent
- See Also:
-
cause
Throwable cause()Returns the throwable that occurred.- Returns:
- the throwable that occurred
-