maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsive...@apache.org
Subject svn commit: r703392 - /maven/doxia/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/RtfSink.java
Date Fri, 10 Oct 2008 10:50:08 GMT
Author: vsiveton
Date: Fri Oct 10 03:50:07 2008
New Revision: 703392

URL: http://svn.apache.org/viewvc?rev=703392&view=rev
Log:
o replaced system.exit by logging

Modified:
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/RtfSink.java

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/RtfSink.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/RtfSink.java?rev=703392&r1=703391&r2=703392&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/RtfSink.java
(original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/RtfSink.java
Fri Oct 10 03:50:07 2008
@@ -991,8 +991,7 @@
         }
         catch ( Exception e )
         {
-            e.printStackTrace();
-            System.exit( 2 );
+            getLog().error( e.getMessage(), e );
         }
 
         endParagraph();



Mime
View raw message