Subject Re: [IB-Architect] New API: Exceptions
Author Jim Starkey
At 09:30 AM 6/2/00 -0500, Bill Lancaster wrote:
>>Unfortunately, it doesn't work in MSVC++ V5. No compiler errors, but
>>the exception doesn't get caught. I haven't checked out g++, but the
>>question, I fear, is moot.
>>
>}
>catch(const SQLException& e)
>{
>
>}

catch (const SQLException& exception)
{
printf ("Sql error: %s\n", exception.getText());
}

gets:

Query.cpp(153) : error C2662: 'getText' : cannot convert 'this' pointer
from 'const class SQLException' to 'class SQLException &'
Conversion
loses qualifiers




Jim Starkey