Return-Path: Delivered-To: apmail-incubator-river-dev-archive@minotaur.apache.org Received: (qmail 4636 invoked from network); 30 Apr 2010 07:30:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Apr 2010 07:30:57 -0000 Received: (qmail 90721 invoked by uid 500); 30 Apr 2010 07:24:17 -0000 Delivered-To: apmail-incubator-river-dev-archive@incubator.apache.org Received: (qmail 90701 invoked by uid 500); 30 Apr 2010 07:24:17 -0000 Mailing-List: contact river-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: river-dev@incubator.apache.org Delivered-To: mailing list river-dev@incubator.apache.org Received: (qmail 90289 invoked by uid 99); 30 Apr 2010 07:24:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Apr 2010 07:24:16 +0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [61.9.189.152] (HELO nschwmtas06p.mx.bigpond.com) (61.9.189.152) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Apr 2010 07:24:09 +0000 Received: from nschwotgx03p.mx.bigpond.com ([61.9.223.241]) by nschwmtas06p.mx.bigpond.com with ESMTP id <20100430072347.LLKY18201.nschwmtas06p.mx.bigpond.com@nschwotgx03p.mx.bigpond.com> for ; Fri, 30 Apr 2010 07:23:47 +0000 Received: from [10.1.1.2] (really [61.9.223.241]) by nschwotgx03p.mx.bigpond.com with ESMTP id <20100430072346.YEVB2192.nschwotgx03p.mx.bigpond.com@[10.1.1.2]> for ; Fri, 30 Apr 2010 07:23:46 +0000 Message-ID: <4BDA8522.1090703@zeus.net.au> Date: Fri, 30 Apr 2010 17:22:10 +1000 From: Peter Firmstone User-Agent: Thunderbird 2.0.0.14 (X11/20080531) MIME-Version: 1.0 To: river-dev@incubator.apache.org Subject: Re: Tricky question - UnmarshalException Serialized Form. References: <4BD8F9E5.1010307@zeus.net.au> <4BD95BE7.1060402@zeus.net.au> <4BD962E3.8070701@zeus.net.au> <4BD9DDD3.20209@wonderly.org> In-Reply-To: <4BD9DDD3.20209@wonderly.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150205.4BDA8582.0197,ss=1,fgs=0 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. Cheers, Peter. 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 > >