You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2009/12/01 21:56:15 UTC

svn commit: r885928 - /xerces/java/branches/xml-schema-1.1-dev/src/org/apache/html/dom/HTMLDocumentImpl.java

Author: mrglavas
Date: Tue Dec  1 20:56:15 2009
New Revision: 885928

URL: http://svn.apache.org/viewvc?rev=885928&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/branches/xml-schema-1.1-dev/src/org/apache/html/dom/HTMLDocumentImpl.java

Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/html/dom/HTMLDocumentImpl.java
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/html/dom/HTMLDocumentImpl.java?rev=885928&r1=885927&r2=885928&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/html/dom/HTMLDocumentImpl.java (original)
+++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/html/dom/HTMLDocumentImpl.java Tue Dec  1 20:56:15 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: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org