java.util
Class TooManyListenersException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Constructor Summary
TooManyListenersException()
          Constructs a TooManyListenersException with no detail message.
TooManyListenersException(String detail)
          Constructs a TooManyListenersException with a detail message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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