You are viewing a plain text version of this content. The canonical link for it is here.
Posted to doxia-commits@maven.apache.org by lt...@apache.org on 2010/04/28 11:17:05 UTC

svn commit: r938834 - /maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java

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 );