DESY ACOP Beans Home

de.desy.acop.displayers.selector
Class ExceptionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by de.desy.acop.displayers.selector.ExceptionEvent
All Implemented Interfaces:
java.io.Serializable

public class ExceptionEvent
extends java.util.EventObject

Exception event should be triggered when an exception occurs in the selector. Exception should be caught and the event should then be distributed to the listeners who will handle the exception.

Author:
Jaka Bobnar, Cosylab
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ExceptionEvent(java.lang.Object source, java.lang.Throwable e)
          Constructs a new ExceptionEvent.
 
Method Summary
 java.lang.Throwable getThrowable()
          Returns the exception.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExceptionEvent

public ExceptionEvent(java.lang.Object source,
                      java.lang.Throwable e)
Constructs a new ExceptionEvent.

Parameters:
source - the source of the event
e - the exception that triggered the event
Method Detail

getThrowable

public java.lang.Throwable getThrowable()
Returns the exception.

Returns:


Copyright © 2010. All Rights Reserved.