Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…hI lib available for your platform
  • Loading branch information...
commit 65c776a236909890196d63c16f583f05eea68a20 1 parent 796ad68
Egon Willighagen authored May 20, 2010
2  plugins/net.bioclipse.inchi/src/net/bioclipse/inchi/business/InChIManager.java
@@ -94,7 +94,7 @@ public String load() {
94 94
         if (factory == null) {
95 95
             try {
96 96
 				factory = InChIGeneratorFactory.getInstance();
97  
-			} catch (CDKException exception) {
  97
+			} catch (Exception exception) {
98 98
 				loadingFailed = true;
99 99
 				isLoaded = false;
100 100
 				return "Loading of the InChI library failed: " +

0 notes on commit 65c776a

Please sign in to comment.
Something went wrong with that request. Please try again.