You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Bill Klein <bi...@orbit.org> on 2001/05/02 11:26:00 UTC
Exception classes
Hi all,
Any reason why the classes in Xerces that can be thrown as exceptions aren't all derived from soem common base classs? This would make life a lot easier for programs that don't need detailed error information, and just handle parser errors in a more general way. It would probably not be rediculous even to derive from std::exception...
Aside from making life a bit easier, another reason I'd want this is because I'm scared that perhaps I'm not catching all the possible types of exceptions that Xerces can throw (or perhaps another type will be added in the future, crashing my program, when that exception is thrown...).
But maybe I'm missing something...
-Bill