Class ServerExceptionEvent

java.lang.Object
org.bukkit.event.Event
com.destroystokyo.paper.event.server.ServerExceptionEvent

@NullMarked public class ServerExceptionEvent extends Event
Called whenever an exception is thrown in a recoverable section of the server.
  • Constructor Details

  • Method Details

    • getException

      public ServerException getException()
      Gets the wrapped exception that was thrown.
      Returns:
      Exception thrown
    • getHandlers

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      public static HandlerList getHandlerList()