java.util.TooManyListenersException
java.lang.Exception
None
None
New as of JDK 1.1
A TooManyListenersException is thrown to indicate that more than one listener is registered with a unicast event source. Normally, an event source multicasts to all registered listeners. In some special cases, however, an event source is unicast, meaning it only sends events to a single listener. This exception is thrown if more than one listener tries to register.
public class java.util.TooManyListenersException
             extends java.lang.Exception {
  // Constructors
  public TooManyListenersException();
  public TooManyListenersException(String s);
}
This constructor creates aTooManyListenersException with no associated detail message
The detail message.
This constructor creates a TooManyListenersException with the specified detail message
| Method | Inherited From | Method | Inherited From | 
|---|---|---|---|
| 
 clone()  | 
 Object  | 
 equals(Object)  | 
 Object  | 
| 
 fillInStackTrace()  | 
 Throwable  | 
 finalize()  | 
 Object  | 
| 
 getClass()  | 
 Object  | 
 getLocalizedMessage()  | 
 Throwable  | 
| 
 getMessage()  | 
 Throwable  | 
 hashCode()  | 
 Object  | 
| 
 notify()  | 
 Object  | 
 notifyAll()  | 
 Object  | 
| 
 printStackTrace()  | 
 Throwable  | 
 printStackTrace(PrintStream)  | 
 Throwable  | 
| 
 printStackTrace(PrintWriter)  | 
 Throwable  | 
 toString()  | 
 Throwable  | 
| 
 wait()  | 
 Object  | 
 wait(long)  | 
 Object  | 
| 
 wait(long, int)  | 
 Object  | 
EventObject, EventListener, Exception