Author: ltheussl Date: Fri Oct 1 09:45:16 2010 New Revision: 1003453 URL: http://svn.apache.org/viewvc?rev=1003453&view=rev Log: preserve stacktraces
Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java?rev=1003453&r1=1003452&r2=1003453&view=diff ============================================================================== --- maven/doxia/doxia/trunk/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java (original) +++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java Fri Oct 1 09:45:16 2010 @@ -133,7 +133,7 @@ public class ITextUtil } catch ( DocumentException e ) { - throw new RuntimeException( "DocumentException : " + e.getMessage() ); + throw new RuntimeException( "DocumentException : " + e.getMessage(), e ); } } @@ -154,7 +154,7 @@ public class ITextUtil } catch ( DocumentException e ) { - throw new RuntimeException( "DocumentException : " + e.getMessage() ); + throw new RuntimeException( "DocumentException : " + e.getMessage(), e ); } } @@ -175,7 +175,7 @@ public class ITextUtil } catch ( DocumentException e ) { - throw new RuntimeException( "DocumentException : " + e.getMessage() ); + throw new RuntimeException( "DocumentException : " + e.getMessage(), e ); } } }