You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by sa...@apache.org on 2002/04/11 22:14:55 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/parsers DOMASBuilderImpl.java
sandygao 02/04/11 13:14:55
Modified: java/src/org/apache/xerces/parsers DOMASBuilderImpl.java
Log:
The work of "try/catch XNIException" is already done in parseASInputSource,
so we shouldn't do it again in parseASURI.
Revision Changes Path
1.16 +2 -10 xml-xerces/java/src/org/apache/xerces/parsers/DOMASBuilderImpl.java
Index: DOMASBuilderImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/parsers/DOMASBuilderImpl.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- DOMASBuilderImpl.java 27 Mar 2002 20:32:26 -0000 1.15
+++ DOMASBuilderImpl.java 11 Apr 2002 20:14:54 -0000 1.16
@@ -93,7 +93,7 @@
*
* @author Pavani Mukthipudi, Sun Microsystems Inc.
* @author Neil Graham, IBM
- * @version $Id: DOMASBuilderImpl.java,v 1.15 2002/03/27 20:32:26 neilg Exp $
+ * @version $Id: DOMASBuilderImpl.java,v 1.16 2002/04/11 20:14:54 sandygao Exp $
*
*/
@@ -242,15 +242,7 @@
public ASModel parseASURI(String uri)
throws DOMASException, Exception {
XMLInputSource source = new XMLInputSource(null, uri, null);
- try {
- return parseASInputSource(source);
- }
-
- catch (XNIException e) {
- Exception ex = e.getException();
- throw ex;
- }
-
+ return parseASInputSource(source);
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org