river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Firmstone <j...@zeus.net.au>
Subject Re: Tricky question - UnmarshalException Serialized Form.
Date Fri, 30 Apr 2010 07:22:10 GMT
Thanks Gregg,

I'm thinking about making all the new Exception classes non serializable 
to eliminate any codebase downloads for older jini version clients, 
thanks for the soln.

That way only RemoteExceptions need be Serialized.



Gregg Wonderly wrote:
> Peter Firmstone wrote:
>> No mate, that sounds cool, it would be nice to send stack traces 
>> remotely with nested exceptions too if possible anyone got any 
>> experiences or suggestions?
> ex.printStackTrace( new PrintWriter( new StringWriter() ) );
> This works for me where I have does this to make sure that I don't 
> have to worry about SQLExceptions and the like not being serializable.
> Gregg Wonderly

View raw message