Re: Attachment->SaveToFile() and Exception

Giganews Newsgroups
Subject: Re: Attachment->SaveToFile() and Exception
Posted by:  Remy Lebeau \(TeamB\) (no.spam@no.spam.com)
Date: Fri, 3 Oct 2008

"duf" <d…@wp.pl> wrote in message news:38FA36C02265E340d…@wp.pl...

> Why I can not catch the exception when save to file throw exception ?

Because an EIdExcepion is not begin raised to begin with?  Have you tried
catching the base Exception class instead?

    catch ( const Exception& e )

If that works, then look at the e.ClasName() value to know what type of
exception is actually being raised.

--
Remy Lebeau (TeamB)

Replies

None

In response to

Attachment->SaveToFile() and Exception posted by duf on Mon, 29 Sep 2008