[xsde-users] Would you please have a look at this exception
Boris Kolpackov
boris at codesynthesis.com
Thu Mar 26 05:48:31 EDT 2009
Hi,
raferq <raferq at 163.com> writes:
> My question is how can I check if the hexBinary is NULL before
> std::exception was threw out?
You can check the buffer's size. For example:
void hexBin104Type_pimpl::
post_hexBin104Type ()
{
::xml_schema::buffer* v = post_hex_binary ();
if (v->size () == 0)
{
// empty buffer
}
else
{
...
}
delete v;
}
Boris
More information about the xsde-users
mailing list