mirror of https://github.com/apache/poi.git
Improve error-message, include some details why processing the file fails
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897320 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7283d7ed64
commit
16a24ecd79
|
@ -87,7 +87,9 @@ public class PropertySetFactory {
|
|||
if (byteOrder != PropertySet.BYTE_ORDER_ASSERTION ||
|
||||
format != PropertySet.FORMAT_ASSERTION ||
|
||||
sectionCount < 0) {
|
||||
throw new NoPropertySetStreamException();
|
||||
throw new NoPropertySetStreamException("ByteOrder: " + byteOrder +
|
||||
", format: " + format +
|
||||
", sectionCount: " + sectionCount);
|
||||
}
|
||||
|
||||
if (sectionCount > 0) {
|
||||
|
|
Loading…
Reference in New Issue