You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2008/12/06 01:45:02 UTC
svn commit: r723934 -
/commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/SCXMLTestHelper.java
Author: sebb
Date: Fri Dec 5 16:45:02 2008
New Revision: 723934
URL: http://svn.apache.org/viewvc?rev=723934&view=rev
Log:
SCXML-91 - SCXMLTestHelper#testExecutorSerializability() should not ignore I/O errors.
Modified:
commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/SCXMLTestHelper.java
Modified: commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/SCXMLTestHelper.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/SCXMLTestHelper.java?rev=723934&r1=723933&r2=723934&view=diff
==============================================================================
--- commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/SCXMLTestHelper.java (original)
+++ commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/SCXMLTestHelper.java Fri Dec 5 16:45:02 2008
@@ -301,9 +301,9 @@
+ " in use is not serializable");
return scxml;
} catch(IOException ex) {
- ex.printStackTrace();
+ throw new RuntimeException(ex);
} catch(ClassNotFoundException ex) {
- ex.printStackTrace();
+ throw new RuntimeException(ex);
}
return roundtrip;
}
@@ -333,9 +333,9 @@
+ " in use is not serializable");
return exec;
} catch(IOException ex) {
- ex.printStackTrace();
+ throw new RuntimeException(ex);
} catch(ClassNotFoundException ex) {
- ex.printStackTrace();
+ throw new RuntimeException(ex);
}
return roundtrip;
}