Subject | Unable to catch EIB_ISCError on Connect() |
---|---|
Author | Joe Martinez |
Post date | 2006-04-24T10:16:35Z |
I am using a TIBODatabase. When I call Connect(), I'm trying to catch
the exceptions that get raised on failure, parse the messges, and
display more friendly error messages.
I'm doing something like:
try { MyDB->Connect() }
catch (EIB_ISCError E)
{
.....
}
When we get here, I can see in the debugger that the EIB_ISCError is
getting thrown, but my catch() block isn't catching it. It appears
that IBO is intercepting that exception, and then throwing an
EIB_ConnectionError with message "Login Failed". That's not very helpful.
How can I stop this behavior and let my application catch the
EIB_ISCError?
-Joe
the exceptions that get raised on failure, parse the messges, and
display more friendly error messages.
I'm doing something like:
try { MyDB->Connect() }
catch (EIB_ISCError E)
{
.....
}
When we get here, I can see in the debugger that the EIB_ISCError is
getting thrown, but my catch() block isn't catching it. It appears
that IBO is intercepting that exception, and then throwing an
EIB_ConnectionError with message "Login Failed". That's not very helpful.
How can I stop this behavior and let my application catch the
EIB_ISCError?
-Joe