home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Java Fundamental Classes Reference

Previous Chapter 17
The java.util Package
Next
 

TooManyListenersException

Name

TooManyListenersException

Synopsis

Class Name:

java.util.TooManyListenersException

Superclass:

java.lang.Exception

Immediate Subclasses:

None

Interfaces Implemented:

None

Availability:

New as of JDK 1.1

Description

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.

Class Summary

public class java.util.TooManyListenersException
             extends java.lang.Exception {
  // Constructors
  public TooManyListenersException();
  public TooManyListenersException(String s);
}

Constructors

TooManyListenersException

public TooManyListenersException()

Description

This constructor creates aTooManyListenersException with no associated detail message

public TooManyListenersException(String s)

Parameters

s

The detail message.

Description

This constructor creates a TooManyListenersException with the specified detail message

Inherited Methods

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

   

See Also

EventObject, EventListener, Exception


Previous Home Next
TimeZone Book Index Vector

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java