Just added a new exception for the CDK, 'Intractable
'. It is to indicate when a problem could not be completed in reasonable time / or iterations. Egon noted the usual behaviour of the existing API is to throw CDKException and I should bring it up with the mailing list.
The new exception extends CDKException so if you really like pokémon exceptions (got to catch them all
) you can still do that. Generally my approach is to use runtime exceptions for programmer errors and if you really need a checked exception then try and reuse the JDK ones (e.g. SmilesParser/MDLV2000Reader would be nicer if they threw an IOException). I couldn't find an exception for when a problem simply isn't feasible, TimeoutException is for network sockets, so I created this.