java.util
Class TooManyListenersException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.util.TooManyListenersException
- All Implemented Interfaces:
- Serializable
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
,
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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