jstrachan 2003/01/08 11:17:28 Modified: jelly/src/java/org/apache/commons/jelly/parser XMLParser.java Log: Added some extra warning information (the exception that gets thrown) just in case that helps to diagnose problems due to classpath issues Revision Changes Path 1.42 +9 -9 jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/parser/XMLParser.java Index: XMLParser.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/parser/XMLParser.java,v retrieving revision 1.41 retrieving revision 1.42 diff -u -r1.41 -r1.42 --- XMLParser.java 16 Dec 2002 10:51:06 -0000 1.41 +++ XMLParser.java 8 Jan 2003 19:17:27 -0000 1.42 @@ -1031,16 +1031,16 @@ context.registerTagLibrary(namespaceURI, taglib); } catch (ClassNotFoundException e) { - log.warn("Could not load class: " + uri + " so disabling the taglib"); + log.warn("Could not load class: " + uri + " so disabling the taglib", e); } catch (IllegalAccessException e) { - log.warn("Constructor for class is not accessible: " + uri + " so disabling the taglib"); + log.warn("Constructor for class is not accessible: " + uri + " so disabling the taglib", e); } catch (InstantiationException e) { - log.warn("Class could not be instantiated: " + uri + " so disabling the taglib"); + log.warn("Class could not be instantiated: " + uri + " so disabling the taglib", e); } catch (ClassCastException e) { - log.warn("Class is not a TagLibrary: " + uri + " so disabling the taglib"); + log.warn("Class is not a TagLibrary: " + uri + " so disabling the taglib", e); } } }
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>