mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
add message to NPE
This commit is contained in:
parent
e18b5576f0
commit
bcc7912c8d
@ -58,7 +58,7 @@ public class XWPFParagraph implements IBodyElement, IRunBody, ISDTContents, Para
|
||||
this.document = part.getXWPFDocument();
|
||||
|
||||
if (document == null) {
|
||||
throw new NullPointerException();
|
||||
throw new NullPointerException("null document in XWPFParagraph");
|
||||
}
|
||||
|
||||
// Build up the character runs
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user