[patch] serializing SException [1 Attachment]

Noel Grandin <[email protected]> Tue, 09 Nov 2010 15:40:06 +0200
Newsgroups gmane.comp.java.orm.simpleorm
Message-ID <[email protected]>
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