I am writing a pdf file using the SaveAsFile() method of wxPDFDocument.
This works quite well, but how can I handle a file writing error (for 
instance, trying to write into
a protected directory...)?
The return type of SaveAsFile() is void, and it does not appear to throw 
any exception?

So how can I manage this case?

Regards,

Paul

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to