[xsde-users] Segmentation during object serialization

Marcin Radziewicz mradziewicz at gmail.com
Wed Jan 9 08:24:57 EST 2013


Hello,

Thanks for your response, it explains everything.
I understand that control would require a lot of additional code.

Best Regards,
Marcin


2013/1/9 Boris Kolpackov <boris at codesynthesis.com>

> Hi Marcin,
>
> Marcin Radziewicz <mradziewicz at gmail.com> writes:
>
> > I tried to serialize object which dd not have all its required fields
> > filled. It is of course not correct, but i was sure it will cause an
> > exception to be thrown.
>
> Adding a test that throws an exception if a required member is not
> present would bloat the generated code significantly. Also, this is
> a programming error, not a runtime error, and some (including myself)
> believe exceptions are not the correct mechanism to report this.
>
> Boris
>


More information about the xsde-users mailing list