Re: Using ErrorHandler -
04-17-2006
, 08:51 PM
The short answer is that the string in the exception is the uniquely
identifying component in the DatabaseException object. Unless you are
able to use and make sense of the errno (via getErrno) on your platform
in the memory allocation failure case.
If you are receiving the error handler callback, and are handling the
cleanup there - why are you still wanting to switch within the
exception handler?
As for the NULL prefix - are you calling setErrorPrefix on the Databse
config? If so, this sounds like a bug, if you could provide a code
sample demonstrating the problem I will investigate further.
- Alex |