You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ye...@apache.org on 2008/01/19 15:27:02 UTC
svn commit: r613395 -
/poi/trunk/src/java/org/apache/poi/hssf/record/DVRecord.java
Author: yegor
Date: Sat Jan 19 06:27:02 2008
New Revision: 613395
URL: http://svn.apache.org/viewvc?rev=613395&view=rev
Log:
use JDK 1.4 compatible constructor for IllegalStateException
Modified:
poi/trunk/src/java/org/apache/poi/hssf/record/DVRecord.java
Modified: poi/trunk/src/java/org/apache/poi/hssf/record/DVRecord.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/DVRecord.java?rev=613395&r1=613394&r2=613395&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/record/DVRecord.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/record/DVRecord.java Sat Jan 19 06:27:02 2008
@@ -187,10 +187,13 @@
this.field_not_used_2 = in.readShort();
//read sec formula data condition
- // Not sure if this was needed or not...
+ //Not sure if this was needed or not...
try {
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;
while (token_pos < this.field_size_sec_formula)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org