hi,
i've got an interface to load an arbitrary number of files, where each
load operation may fail independently, but any failure should not abort
the whole operation. so i'd like to throw some kind of compound exception
at the end if at least 1 error occurred.
sb already objected to me abusing WrappedTargetException for this purpose.
any objections to adding this to udkapi:
module com { module sun { module star { module lang {
//=============================================================================
/** This is a checked exception that wraps several exceptions thrown
by original target(s).
*/
published exception WrappedTargetExceptions : com::sun::star::uno::Exception
{
//-------------------------------------------------------------------------
/** The exceptions thrown by target(s).
*/
sequence<any> TargetExceptions;
};
regards,
michael
--
"C++ is a horrible language. It's made more horrible by the fact that a
lot of substandard programmers use it, to the point where it's much much
easier to generate total and utter crap with it. Quite frankly, even if
the choice of C were to do *nothing* but keep the C++ programmers out,
that in itself would be a huge reason to use C." -- Linus Torvalds
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]