mirror of https://github.com/apache/poi.git
Adjust an error message slightly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868980 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0498d7ef3a
commit
2dad9b7543
|
@ -447,8 +447,7 @@ public final class InternalWorkbook {
|
|||
}
|
||||
if (index > (numfonts - 1)) {
|
||||
throw new ArrayIndexOutOfBoundsException(
|
||||
"There are only " + numfonts
|
||||
+ " font records, you asked for " + idx);
|
||||
"There are only " + numfonts + " font records, but you asked for index " + idx);
|
||||
}
|
||||
|
||||
return ( FontRecord ) records.get((records.getFontpos() - (numfonts - 1)) + index);
|
||||
|
|
Loading…
Reference in New Issue