On Wed, Jul 6, 2011 at 12:35 PM, Nina Jeliazkova <jeliazkova.n...@gmail.com> wrote: > On 6 July 2011 13:06, Egon Willighagen <egon.willigha...@gmail.com> wrote: > 1) and 2) are not mutually exclusive. > My preference would be for 1) CDKException but combined with 2) CDKException > subclasses , e.g. NoSuchAtomTypeException should extend CDKException class. > This will leave a freedom for the code to catch the top level or the more > specific exception.
Yeah, a root CDKExecption (abstract?) is a good idea. Egon -- Dr E.L. Willighagen Postdoctoral Researcher Institutet för miljömedicin Karolinska Institutet (http://ki.se/imm) Homepage: http://egonw.github.com/ LinkedIn: http://se.linkedin.com/in/egonw Blog: http://chem-bla-ics.blogspot.com/ PubList: http://www.citeulike.org/user/egonw/tag/papers ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Cdk-user mailing list Cdk-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdk-user