Author: mrglavas
Date: Tue Dec 1 20:55:57 2009
New Revision: 885927
URL: http://svn.apache.org/viewvc?rev=885927&view=rev
Log:
Fixing JIRA Issue #1403: http://issues.apache.org/jira/browse/XERCESJ-1403.
Should be throwing the RuntimeException we create if there's some failure in
class loading. Thanks to Ludger Bünger for discovering this issue.
Modified:
xerces/java/trunk/src/org/apache/html/dom/HTMLDocumentImpl.java
Modified: xerces/java/trunk/src/org/apache/html/dom/HTMLDocumentImpl.java
URL:
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/html/dom/HTMLDocumentImpl.java?rev=885927&r1=885926&r2=885927&view=diff
==============================================================================
--- xerces/java/trunk/src/org/apache/html/dom/HTMLDocumentImpl.java (original)
+++ xerces/java/trunk/src/org/apache/html/dom/HTMLDocumentImpl.java Tue Dec 1
20:55:57 2009
@@ -760,7 +760,7 @@
ObjectFactory.findProviderClass("org.apache.html.dom." +
className,
HTMLDocumentImpl.class.getClassLoader(), true) );
} catch ( Exception except ) {
- new RuntimeException( "HTM019 OpenXML Error: Could not find or
execute class " + className + " implementing HTML element " + tagName
+ throw new RuntimeException( "HTM019 OpenXML Error: Could not find
or execute class " + className + " implementing HTML element " + tagName
+ "\n" + className + "\t" + tagName);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]