Page 1 of 1

Exceptions in documentation

Posted: 24 Apr 2007, 10:28
by cdelmas
I would like to know if you plan to add in documentation what exceptions are thrown by each function. It would be very helpful in my opinion.

Thanks in advance.

Re: Exceptions in documentation

Posted: 25 Apr 2007, 16:47
by guenter
For many functions, this is already documented. However, a full exception documentation is rather hard to come up with, as you'll have to consider all exceptions that might be thrown by functions that the respective function calls itself. Generally, it's sufficient to just catch Poco::Exception or Poco::IOException/Poco::Net::NetException for the network stuff.

Re: Exceptions in documentation

Posted: 23 May 2007, 21:58
by eran
Maybe just an indication if any exception should be expected...

EHL