cancel

abstract fun cancel()

取消这个事件. 事件需实现 CancellableEvent 接口才可以被取消

Throws

当事件未实现接口 CancellableEvent 时抛出