From: Sergey Vladimirov Date: Fri, 22 Jul 2011 09:41:38 +0000 (+0000) Subject: better error message X-Git-Tag: REL_3_8_BETA4~102 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3abb9887e47c6485d435e41b9bba7866a5a246fd;p=poi.git better error message git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149527 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java b/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java index f2cc1eae77..51287ef7b6 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java @@ -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();