ExceptionInEventHandlerException

class ExceptionInEventHandlerException(val event: Event, val message: String = "Exception in EventHandler", val cause: Throwable) : IllegalStateException

EventHandler 标记的函数在处理事件时产生异常时包装异常并重新抛出

Constructors

Link copied to clipboard
constructor(event: Event, message: String = "Exception in EventHandler", cause: Throwable)

Properties

Link copied to clipboard
open override val cause: Throwable

原异常

Link copied to clipboard

当时正在处理的事件

Link copied to clipboard
open override val message: String