Array exception

(root vs. 3.10/02 on RedHat 9)

Hello!
I am having trouble with data imported from MIDAS: trying to merge several TTrees into a larger TTree, however some data must be corrupted and I run into
"Error: Array out of range"
and an aborted process.
Is it possible to catch the exception before it kills the process? as in: catch(ArrayOutOfBoundsException) or some such…
Thank you!
CMM

Hi,

I am not sure where the error is coming from. If it is a common ROOT error, you can implement you own error handler (see the beginning of the file TError.cxx)

Cheers,
Philippe.