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
22bf8bdef5
commit
4bb6a792f8
@ -869,7 +869,7 @@ public class Range { // TODO -instantiable superclass
|
|||||||
|
|
||||||
Range r = paragraph;
|
Range r = paragraph;
|
||||||
if (r._parent.get() != this) {
|
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();
|
r.initAll();
|
||||||
|
Loading…
Reference in New Issue
Block a user