[infinispan-commits] Infinispan SVN: r359 - trunk/core/src/main/java/org/infinispan/marshall.
infinispan-commits at lists.jboss.org
infinispan-commits at lists.jboss.org
Fri May 29 03:25:15 EDT 2009
Author: mircea.markus
Date: 2009-05-29 03:25:14 -0400 (Fri, 29 May 2009)
New Revision: 359
Modified:
trunk/core/src/main/java/org/infinispan/marshall/VersionAwareMarshaller.java
Log:
use IOException C-tor from JDK5
Modified: trunk/core/src/main/java/org/infinispan/marshall/VersionAwareMarshaller.java
===================================================================
--- trunk/core/src/main/java/org/infinispan/marshall/VersionAwareMarshaller.java 2009-05-28 21:31:22 UTC (rev 358)
+++ trunk/core/src/main/java/org/infinispan/marshall/VersionAwareMarshaller.java 2009-05-29 07:25:14 UTC (rev 359)
@@ -103,7 +103,7 @@
} catch (Exception e) {
finishObjectOutput(out);
log.error("Unable to read version id from first two bytes of stream, barfing.");
- throw new IOException("Unable to read version id from first two bytes of stream.", e);
+ throw new IOException("Unable to read version id from first two bytes of stream : " + e.getMessage());
}
return out;
}
@@ -133,7 +133,7 @@
catch (Exception e) {
finishObjectInput(in);
log.error("Unable to read version id from first two bytes of stream, barfing.");
- throw new IOException("Unable to read version id from first two bytes of stream.", e);
+ throw new IOException("Unable to read version id from first two bytes of stream: " + e.getMessage());
}
return in;
}
More information about the infinispan-commits
mailing list