Re: [linuxtools-dev] TmfDataProvider exception handing

2010-11-30 Thread Francois Chouinard
Hi, You are actually pointing to a serious shortcoming in the current state of TMF. The scheme I had in mind was not to re-throw exceptions but rather to change the signature of ITmfDataRequest.fail() (and possibly cancel()) to take an IStatus parameter. In the case of an exception, the exception

[linuxtools-dev] TmfDataProvider exception handing

2010-11-30 Thread Francis Giraldeau
Hi, I'm using TmfExperiment.sendRequest() with a class where I'm overloading handleData() for event processing. I have a problem with exceptions, because when an exception is throwned in handleData(), there is a general catch in TmfDataProvider that prevent this exception to surface. In s