You get unexpected exception tracing output on standard error, even though the related exception causing the output is caught.
For each exception raised, the write function of class IException::TraceFn is called and writes information about the raised exception to standard error. This trace function write is called whether the related exception is caught or not.
To suppress the trace output, provide your own IException::TraceFn::write tracing function by subclassing IException::TraceFn and register the subclass with setTraceFunction.
Introduction
to the Collection Classes
Overall
Implementation Structure
Exceptions
Defined and Used by the Collection Classes
Exception
Causes
Exceptions
Caused by System Failures and Restrictions
Enabling Exception
Checking
Instantiating the
Collection Classes