use JDK 1.4 compatible constructor for IllegalStateException

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@613395 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yegor Kozlov 2008-01-19 14:27:02 +00:00
parent c618a3fc4e
commit 47f369643a

View File

@ -190,7 +190,10 @@ public class DVRecord extends Record
//Not sure if this was needed or not... //Not sure if this was needed or not...
try { try {
in.skip(this.field_size_sec_formula); in.skip(this.field_size_sec_formula);
} catch(IOException e) { throw new IllegalStateException(e); } } catch(IOException e) {
e.printStackTrace();
throw new IllegalStateException(e.getMessage());
}
token_pos = 0; token_pos = 0;
while (token_pos < this.field_size_sec_formula) while (token_pos < this.field_size_sec_formula)