mirror of https://github.com/apache/poi.git
better error message
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149527 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0e44f2040f
commit
3abb9887e4
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue