it.dtt.ca.exception
Class ListenerAlreadyAttachedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by it.dtt.ca.exception.CAException
              extended by it.dtt.ca.exception.ListenerAlreadyAttachedException
All Implemented Interfaces:
java.io.Serializable

public class ListenerAlreadyAttachedException
extends CAException

This exception is thrown when the application attempt to register a listener and another listener is already registered for that same kind of events. It is only applicable when there is a restriction in the number of allowed listeners.

See Also:
Serialized Form

Constructor Summary
ListenerAlreadyAttachedException()
          Constructs the exception.
ListenerAlreadyAttachedException(java.lang.String message)
          Construct the exception with a 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

ListenerAlreadyAttachedException

public ListenerAlreadyAttachedException()
Constructs the exception.


ListenerAlreadyAttachedException

public ListenerAlreadyAttachedException(java.lang.String message)
Construct the exception with a message.

Parameters:
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.