Exceptions in documentation

Discussion of ideas for features and new projects based on POCO.
cdelmas
Posts: 46
Joined: 22 Sep 2006, 10:04
Location: France

Exceptions in documentation

Postby cdelmas » 24 Apr 2007, 10:28

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.

guenter
Posts: 1191
Joined: 11 Jul 2006, 16:27
Location: Austria

Re: Exceptions in documentation

Postby guenter » 25 Apr 2007, 16:47

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.

eran
Posts: 8
Joined: 26 Dec 2006, 04:33
Location: United_States

Re: Exceptions in documentation

Postby eran » 23 May 2007, 21:58

Maybe just an indication if any exception should be expected...

EHL


Return to “Wishlist”

Who is online

Users browsing this forum: No registered users and 2 guests

cron