Procházet zdrojové kódy

change error message to suggest large files will need overrides

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898250 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_5_2_1
PJ Fanning před 2 roky
rodič
revize
b7c2cabf3f

+ 1
- 1
poi/src/main/java/org/apache/poi/util/IOUtils.java Zobrazit soubor

@@ -554,7 +554,7 @@ public final class IOUtils {
private static void throwRFE(long length, int maxLength) {
throw new RecordFormatException(String.format(Locale.ROOT, "Tried to allocate an array of length %,d" +
", but the maximum length for this record type is %,d.\n" +
"If the file is not corrupt, please open an issue on bugzilla to request \n" +
"If the file is not corrupt or large, please open an issue on bugzilla to request \n" +
"increasing the maximum allowable size for this record type.\n"+
"As a temporary workaround, consider setting a higher override value with " +
"IOUtils.setByteArrayMaxOverride()",

Načítá se…
Zrušit
Uložit