xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerem...@apache.org
Subject svn commit: r234205 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/BreakingAlgorithm.java
Date Sun, 21 Aug 2005 14:11:42 GMT
Author: jeremias
Date: Sun Aug 21 07:11:39 2005
New Revision: 234205

URL: http://svn.apache.org/viewcvs?rev=234205&view=rev
Log:
Better error message.

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/BreakingAlgorithm.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/BreakingAlgorithm.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/BreakingAlgorithm.java?rev=234205&r1=234204&r2=234205&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/BreakingAlgorithm.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/BreakingAlgorithm.java Sun Aug
21 07:11:39 2005
@@ -839,7 +839,8 @@
 
     protected int getLineWidth(int line) {
         if (this.lineWidth < 0) {
-            throw new IllegalStateException("lineWidth must be set");
+            throw new IllegalStateException("lineWidth must be set" 
+                    + (this.lineWidth != 0 ? " and positive, but it is: " + this.lineWidth
: ""));
         } else {
             return this.lineWidth;
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message