From: Dennis Schafroth Date: Tue, 31 Jan 2012 14:51:09 +0000 (+0100) Subject: Better error message on failed loading of CodeTable X-Git-Tag: v2.5~23^2~7 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=17c3348afe32075527f678dbcf30791764e00d52;p=marc4j.git Better error message on failed loading of CodeTable --- diff --git a/src/org/marc4j/converter/impl/CodeTable.java b/src/org/marc4j/converter/impl/CodeTable.java index 0973c8c..fd6577f 100644 --- a/src/org/marc4j/converter/impl/CodeTable.java +++ b/src/org/marc4j/converter/impl/CodeTable.java @@ -110,7 +110,7 @@ public class CodeTable implements CodeTableInterface { charsets = saxUms.getCharSets(); combining = saxUms.getCombiningChars(); } catch (Exception e) { - throw new MarcException(e.getMessage(), e); + throw new MarcException("Failed to setup Codetables. Resources missing?", e); } }