maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsive...@apache.org
Subject svn commit: r636304 - /maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java
Date Wed, 12 Mar 2008 12:50:11 GMT
Author: vsiveton
Date: Wed Mar 12 05:50:08 2008
New Revision: 636304

URL: http://svn.apache.org/viewvc?rev=636304&view=rev
Log:
o handle line and column number

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=636304&r1=636303&r2=636304&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 Mar 12 05:50:08 2008
@@ -58,7 +58,8 @@
         }
         catch ( XmlPullParserException ex )
         {
-            throw new ParseException( "Error parsing the model: " + ex.getMessage(), ex );
+            throw new ParseException( "Error parsing the model: " + ex.getMessage(), ex,
ex.getLineNumber(), ex
+                .getColumnNumber() );
         }
         catch ( MacroExecutionException ex )
         {



Mime
View raw message