java.util

Class TooManyListenersException

public class TooManyListenersException extends Exception

This exception is part of the java event model. It is thrown if an event listener is added via the addXyzEventListener method, but the object doesn't support any more listeners, e.g. it only supports a single event listener.

Since: 1.1

See Also: EventListener EventObject

UNKNOWN: updated to 1.4

Constructor Summary
TooManyListenersException()
Constructs a TooManyListenersException with no detail message.
TooManyListenersException(String detail)
Constructs a TooManyListenersException with a detail message.

Constructor Detail

TooManyListenersException

public TooManyListenersException()
Constructs a TooManyListenersException with no detail message.

TooManyListenersException

public TooManyListenersException(String detail)
Constructs a TooManyListenersException with a detail message.

Parameters: detail the detail message