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