setCancelled
Sets the event as cancelled or not. If the event is cancelled the exception is seen as an uncaught exception. Do only cancel this event if you want to log the exceptions on your own.
Sets the event as cancelled or not. If the event is cancelled the exception is seen as an uncaught exception. Do only cancel this event if you want to log the exceptions on your own.