Re: [patch] serializing SException
Franck Routier <[email protected]> Tue, 09 Nov 2010 16:08:32 +0100
| Newsgroups | gmane.comp.java.orm.simpleorm |
|---|---|
| Organization | Axège sarl |
| Message-ID | <1289315312.5354.25.camel@franck-laptop> |
Fix commited.
I also added a serialVersionUID field to SException, which was lacking.
Franck
Le mardi 09 novembre 2010 à 15:40 +0200, Noel Grandin a écrit :
>
> [Attachment(s) from Noel Grandin included below]
> Hi
>
> The SException class does not serialize cleanly because it contains an
> SFieldMeta field, which is not a serialisable class.
>
> Fix that by using readObject()/writeObject() and storing the field
> name in the serialisation stream.
>
> This patch also adds a test-case to cover this situation.
>
> Regards, Noel Grandin
>
>
>
>
>
>
> ______________________________________________________________________
> Disclaimer: http://www.peralex.com/disclaimer.html
>
>
>
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/SimpleORM/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/SimpleORM/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/