ch.elca.el4j.services.gui.swing.eventbus
Class ExceptionThrowingEventService

java.lang.Object
  extended by org.bushe.swing.event.ThreadSafeEventService
      extended by org.bushe.swing.event.SwingEventService
          extended by ch.elca.el4j.services.gui.swing.eventbus.ExceptionThrowingEventService
All Implemented Interfaces:
org.bushe.swing.event.EventService

public class ExceptionThrowingEventService
extends org.bushe.swing.event.SwingEventService

A SwingEventService that really throws occurring exceptions (in addition to logging them).

Author:
Stefan Wismer (SWI)
File-location:
ExceptionThrowingEventService
Last check-in date:
2009-08-04 14:35:53 +0200 (Di, 04. Aug 2009) by swismer for revision 3875

Field Summary
 
Fields inherited from class org.bushe.swing.event.ThreadSafeEventService
CLEANUP_PERIOD_MS_DEFAULT, CLEANUP_START_THRESHOLD_DEFAULT, CLEANUP_STOP_THRESHOLD_DEFAULT, LOG
 
Constructor Summary
ExceptionThrowingEventService()
           
 
Method Summary
protected  void handleException(Object event, Throwable e, StackTraceElement[] callingStack, org.bushe.swing.event.EventSubscriber eventSubscriber)
          
protected  void handleException(String action, Object event, String topic, Object eventObj, Throwable e, StackTraceElement[] callingStack, String sourceString)
          
 
Methods inherited from class org.bushe.swing.event.SwingEventService
publish
 
Methods inherited from class org.bushe.swing.event.ThreadSafeEventService
addEventToCache, clearAllSubscribers, clearCache, clearCache, clearCache, clearCache, decWeakRefPlusProxySubscriberCount, getCachedEvents, getCachedTopicData, getCacheSizeForEventClass, getCacheSizeForTopic, getCleanupPeriodMS, getCleanupStartThreshhold, getCleanupStopThreshold, getDefaultCacheSizePerClassOrTopic, getLastEvent, getLastTopicData, getRealSubscriberAndCleanStaleSubscriberIfNecessary, getSubscribers, getSubscribers, getSubscribers, getSubscribersByPattern, getSubscribersToClass, getSubscribersToExactClass, getSubscribersToPattern, getSubscribersToTopic, getVetoSubscribers, getVetoSubscribers, getVetoSubscribers, getVetoSubscribersToClass, getVetoSubscribersToExactClass, handleVeto, incWeakRefPlusProxySubscriberCount, onEventException, publish, publish, publish, removeProxySubscriber, setCacheSizeForEventClass, setCacheSizeForTopic, setCacheSizeForTopic, setCleanupPeriodMS, setCleanupStartThreshhold, setCleanupStopThreshold, setDefaultCacheSizePerClassOrTopic, subscribe, subscribe, subscribe, subscribe, subscribe, subscribeExactly, subscribeExactlyStrongly, subscribeStrongly, subscribeStrongly, subscribeStrongly, subscribeTiming, subscribeVetoException, subscribeVetoListener, subscribeVetoListener, subscribeVetoListener, subscribeVetoListener, subscribeVetoListenerExactly, subscribeVetoListenerExactlyStrongly, subscribeVetoListenerStrongly, subscribeVetoListenerStrongly, subscribeVetoListenerStrongly, unsubscribe, unsubscribe, unsubscribe, unsubscribe, unsubscribe, unsubscribe, unsubscribe, unsubscribeExactly, unsubscribeExactly, unsubscribeVetoListener, unsubscribeVetoListener, unsubscribeVetoListener, unsubscribeVetoListener, unsubscribeVetoListenerExactly
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionThrowingEventService

public ExceptionThrowingEventService()
Method Detail

handleException

protected void handleException(Object event,
                               Throwable e,
                               StackTraceElement[] callingStack,
                               org.bushe.swing.event.EventSubscriber eventSubscriber)

Overrides:
handleException in class org.bushe.swing.event.ThreadSafeEventService

handleException

protected void handleException(String action,
                               Object event,
                               String topic,
                               Object eventObj,
                               Throwable e,
                               StackTraceElement[] callingStack,
                               String sourceString)

Overrides:
handleException in class org.bushe.swing.event.ThreadSafeEventService


Copyright © 2005-2011 ELCA. All Rights Reserved.