public class InvalidEventHandlerException extends Exception
Constructor and Description |
---|
InvalidEventHandlerException() |
InvalidEventHandlerException(String message) |
InvalidEventHandlerException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static InvalidEventHandlerException |
reusable()
Returns a reusable, pre-created, InvalidEventHandlerException that is
unmodifiable and contains no stack trace.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidEventHandlerException(String message)
public InvalidEventHandlerException()
public InvalidEventHandlerException(Throwable cause)
public static InvalidEventHandlerException reusable()
This is useful for situations where throwing an InvalidEventHandlerException is used strictly for flow-control (e.g. removing an EventHandler from an EventLoop when the former has completed with no errors).
Copyright © 2020. All rights reserved.