#define DB_ONERROR_GOTO ( x,
lab   )     do { int __rc__ = (x); if (DB_FAILED(__rc__)) goto lab; } while(0)

If x is an error, go to lab.

Otherwise, continue.

Parameters:
x the error code.
lab label to go to in case of error.
See also:
DB_RAISE_ERROR, DB_SET_ERROR, DB_THROW_ERROR


Copyright © 2005-2008 ITTIA®. All rights reserved.