java.util
Class TooManyListenersException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.util.TooManyListenersException
All Implemented Interfaces:
Serializable

public class TooManyListenersException
extends Exception

This exception 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.

See Also:
Exception, Serialized Form

Constructor Summary
TooManyListenersException()
          Constructs a new instance of this class with its walkback filled in.
TooManyListenersException(java.lang.String detailMessage)
          Constructs a new instance of this class with its walkback and message filled in.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TooManyListenersException

public TooManyListenersException()
Constructs a new instance of this class with its walkback filled in.


TooManyListenersException

public TooManyListenersException(java.lang.String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.

Parameters:
detailMessage - String The detail message for the exception.