[xsde-users] Segmentation during object serialization
Boris Kolpackov
boris at codesynthesis.com
Wed Jan 9 08:26:41 EST 2013
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