Permalink
Browse files

Catch any exception, also the NPE you get when there is no native InC…

…hI lib available for your platform
  • Loading branch information...
1 parent 796ad68 commit 65c776a236909890196d63c16f583f05eea68a20 @egonw committed May 20, 2010
@@ -94,7 +94,7 @@ public String load() {
if (factory == null) {
try {
factory = InChIGeneratorFactory.getInstance();
- } catch (CDKException exception) {
+ } catch (Exception exception) {
loadingFailed = true;
isLoaded = false;
return "Loading of the InChI library failed: " +

0 comments on commit 65c776a

Please sign in to comment.