maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ltheu...@apache.org
Subject svn commit: r938834 - /maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java
Date Wed, 28 Apr 2010 09:17:05 GMT
Author: ltheussl
Date: Wed Apr 28 09:17:03 2010
New Revision: 938834

URL: http://svn.apache.org/viewvc?rev=938834&view=rev
Log:
Remove unnecessary catch blocks

Modified:
    maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java

Modified: maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java?rev=938834&r1=938833&r2=938834&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java
(original)
+++ maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java
Wed Apr 28 09:17:03 2010
@@ -62,8 +62,6 @@ import org.codehaus.plexus.util.xml.pull
 import org.xml.sax.EntityResolver;
 import org.xml.sax.InputSource;
 import org.xml.sax.SAXException;
-import org.xml.sax.SAXNotRecognizedException;
-import org.xml.sax.SAXNotSupportedException;
 import org.xml.sax.SAXParseException;
 import org.xml.sax.XMLReader;
 import org.xml.sax.helpers.DefaultHandler;
@@ -639,14 +637,6 @@ public abstract class AbstractXmlParser
         {
             throw new ParseException( "Error validating the model: " + e.getMessage(), e
);
         }
-        catch ( SAXNotRecognizedException e )
-        {
-            throw new ParseException( "Error validating the model: " + e.getMessage(), e
);
-        }
-        catch ( SAXNotSupportedException e )
-        {
-            throw new ParseException( "Error validating the model: " + e.getMessage(), e
);
-        }
         catch ( SAXException e )
         {
             throw new ParseException( "Error validating the model: " + e.getMessage(), e
);



Mime
View raw message