Events and Listeners

Hi,

I want to trigger an event on occurance of an exception and display a popup window.

I have written a window event,but for some reason the control doesnt get into the listener method whenever i call sendUpdate method of IEvent.

so my question is without any user action,is it possible to fire events.