]> source.dussan.org Git - poi.git/commitdiff
better error message
authorSergey Vladimirov <sergey@apache.org>
Fri, 22 Jul 2011 09:41:38 +0000 (09:41 +0000)
committerSergey Vladimirov <sergey@apache.org>
Fri, 22 Jul 2011 09:41:38 +0000 (09:41 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149527 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java

index f2cc1eae77d5e0b0524237466d478b73ae13cc5f..51287ef7b6588f15a6aae2cc474d9fa04ac5743f 100644 (file)
@@ -869,7 +869,7 @@ public class Range { // TODO -instantiable superclass
 
                Range r = paragraph;
                if (r._parent.get() != this) {
-                       throw new IllegalArgumentException("This paragraph is not a child of this range");
+                       throw new IllegalArgumentException("This paragraph is not a child of this range instance");
                }
 
         r.initAll();