This is a migrated thread and some comments may be shown as answers.

Feature Request: Autogen all of the exception types in a try

1 Answer 19 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ken Lassesen
Top achievements
Rank 2
Ken Lassesen asked on 12 Jan 2010, 04:51 PM
The typical code of:
try {} catch(Exception exc) {}

It would be nice to right click and have each type of exception that could occur in the try to be templated out. i.e. [Organize and Add Missing Exceptions).

A related request would be the ability to autogenerate for each method
/// <exception cref="System.Exception">Thrown when... .</exception>

This can be done by examining every object (outside of try) and enumerating their exceptions and then dumping those into the tags.

1 Answer, 1 is accepted

Sort by
0
Tsviatko Yovtchev
Telerik team
answered on 13 Jan 2010, 10:48 AM
Hi Ken,

 That's a good idea although it might be tricky to implement. Still, we'll definitely try to come up with that functionality. I guess we won't deal with autogenerating the documentation though. There are other tools more suitable for that task and we currently are not planning on stepping in that realm :)

Sincerely yours,
Tsviatko Yovtchev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Code Analysis
Asked by
Ken Lassesen
Top achievements
Rank 2
Answers by
Tsviatko Yovtchev
Telerik team
Share this question
or