Subject | Re: [IB-Architect] New API: Exceptions |
---|---|
Author | Jim Starkey |
Post date | 2000-06-02T14:09:27Z |
At 09:37 AM 6/2/00 +1000, Jan Mikkelsen wrote:
dislike of an explicit delete or release of an exception object.
I can also confirm that the approach outlined above is proper
and correct C++ usage.
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.
Anybody have any ideas?
Jim Starkey
>Bill Lancaster <yolo@...> wrote:I would like to add my voice to Claudio, Glebas, and Jan in their
>>
>>I believe Glebas was correct with
>>
>>catch (SQLException &exception)
>>{
>>}
>>
>>except I would add a const before SQLException. SQLException is an
>>abstract base class.
>>
dislike of an explicit delete or release of an exception object.
I can also confirm that the approach outlined above is proper
and correct C++ usage.
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.
Anybody have any ideas?
Jim Starkey