OSMQ
v2.0.1

osmq.util
Interface ExceptionListener

All Known Subinterfaces:
Threadable
All Known Implementing Classes:
AbstractThreadable, BrokerEngine, ExceptionEventBean, ExceptionListenerImpl, MessageSortingThread, PubConnectionHandler, osmq.clients.PublisherBase, PublisherBean

public interface ExceptionListener

If a Threaded process detects a serious problem it will inform the Threaded's ExceptionListener if one has been registered. It does this by calling the listener's onException() method passing it a Exception describing the problem.


Method Summary
 void onException(java.lang.Exception exception)
          Notify user of an exception.
 

Method Detail

onException

public void onException(java.lang.Exception exception)
Notify user of an exception.

Parameters:
exception - the exception.

(c) 2000 - 2003 MQue Systems
All Rights Reserved