aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml/java/org/apache/poi/openxml4j
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2015-01-09 16:52:23 +0000
committerDominik Stadler <centic@apache.org>2015-01-09 16:52:23 +0000
commita6d668c6f260b76b3dd682f14125abe5f8577d25 (patch)
treeaea44c377f7a1f2ed36e57373e091a57efff4614 /src/ooxml/java/org/apache/poi/openxml4j
parentffdf1ba216d753eb9aaab5b7cdf1a63c9929aea6 (diff)
downloadpoi-a6d668c6f260b76b3dd682f14125abe5f8577d25.tar.gz
poi-a6d668c6f260b76b3dd682f14125abe5f8577d25.zip
Fix Eclipse warnings, provide better error message and adjust javadoc slightly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1650598 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/java/org/apache/poi/openxml4j')
-rw-r--r--src/ooxml/java/org/apache/poi/openxml4j/opc/PackagePart.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ooxml/java/org/apache/poi/openxml4j/opc/PackagePart.java b/src/ooxml/java/org/apache/poi/openxml4j/opc/PackagePart.java
index 1420fd4415..8b72770a77 100644
--- a/src/ooxml/java/org/apache/poi/openxml4j/opc/PackagePart.java
+++ b/src/ooxml/java/org/apache/poi/openxml4j/opc/PackagePart.java
@@ -168,7 +168,7 @@ public abstract class PackagePart implements RelationshipSource {
public PackageRelationship addExternalRelationship(String target,
String relationshipType, String id) {
if (target == null) {
- throw new IllegalArgumentException("target");
+ throw new IllegalArgumentException("target is null for type " + relationshipType);
}
if (relationshipType == null) {
throw new IllegalArgumentException("relationshipType");