|
From: Kai H. <Kai...@Un...> - 2004-11-25 10:52:13
|
Hi all, > some long time ago 'we', i.e. the project, decided that we should only = use > CDKException, and not subclasses of this exception... Is there a log of the discussion that has leaded to this decision? I=20 don't want to go all over it again. Maybe someone can provide links? The obvious advantage of the current approach is quicker development (no=20 extra exception classes, no long lists of thrown exceptions for each=20 method). > However, I've experienced this as a burden, more than that it reduced > complexity in the system. It would be easier to trace a problem if we w= ould > use subclassed CDKExceptions, because the Exception class name is promi= nent > in the stacktrace, and handling exception in source code is much more > specific... That's a PRO Bye, Kai --=20 Kai Hartmann CUBIC - Cologne University BioInformatics Center Institute for Biochemistry Z=FClpicher Strasse 47 50674 Koeln Phone: +49-221-470-7719 Fax: +49-221-470-7786 |