Better error message on failed loading of CodeTable
authorDennis Schafroth <dennis@indexdata.com>
Tue, 31 Jan 2012 14:51:09 +0000 (15:51 +0100)
committerDennis Schafroth <dennis@indexdata.com>
Tue, 31 Jan 2012 14:51:09 +0000 (15:51 +0100)
src/org/marc4j/converter/impl/CodeTable.java

index 0973c8c..fd6577f 100644 (file)
@@ -110,7 +110,7 @@ public class CodeTable implements CodeTableInterface {
             charsets = saxUms.getCharSets();\r
             combining = saxUms.getCombiningChars();\r
         } catch (Exception e) {\r
-            throw new MarcException(e.getMessage(), e);\r
+            throw new MarcException("Failed to setup Codetables. Resources missing?", e);\r
         }\r
     }\r
 \r