Interface RuntimeExceptionEvent
-
- All Known Subinterfaces:
BaseChannelEvent
,BeforeChannelDeleteEvent
,ChannelEvent
,PageCopyEvent
,PageCreateEvent
,PageDeleteEvent
,PageEvent<T>
,PageMoveEvent
,PageUpdateEvent
public interface RuntimeExceptionEvent
Synchronous event abstraction to allow a listener to be able to set a runtime exception.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RuntimeException
getException()
Return the runtime exception occurred in a listener's handling.void
setException(RuntimeException runtimeException)
Set the runtime exception occurred in a listener's handling.
-
-
-
Method Detail
-
getException
RuntimeException getException()
Return the runtime exception occurred in a listener's handling.- Returns:
- the runtime exception occurred by a listener's handling
-
setException
void setException(RuntimeException runtimeException)
Set the runtime exception occurred in a listener's handling.- Parameters:
runtimeException
- the runtime exception occurred by a listener's handling
-
-