Skip to content

Commit ef19698

Browse files
committed
PDFBOX-5660: improve exception message
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1930027 13f79535-47bb-0310-9956-ffa450edef68
1 parent eeca6f4 commit ef19698

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmpbox/src/main/java/org/apache/xmpbox/xml/DomXmpParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public XMPMetadata parse(InputStream input) throws XmpParsingException
123123
}
124124
catch (SAXException | IOException e)
125125
{
126-
throw new XmpParsingException(ErrorType.Undefined, "Failed to parse", e);
126+
throw new XmpParsingException(ErrorType.Undefined, "Failed to parse: " + e.getMessage(), e);
127127
}
128128

129129
XMPMetadata xmp = null;

0 commit comments

Comments
 (0)