public class TooManyListenersException extends Exception
TooManyListenersException is thrown when an attempt is made to add
more than one listener to an event source which only supports a single
listener. It is also thrown when the same listener is added more than once.| Constructor and Description |
|---|
TooManyListenersException()
Constructs a new
TooManyListenersException with the current stack
trace filled in. |
TooManyListenersException(String detailMessage)
Constructs a new
TooManyListenersException with the stack trace
and message filled in. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TooManyListenersException()
TooManyListenersException with the current stack
trace filled in.public TooManyListenersException(String detailMessage)
TooManyListenersException with the stack trace
and message filled in.detailMessage - the detail message for the exception.