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

Thread is closed for posting
2 posts, 0 answers
  1. Ken Lassesen
    Ken Lassesen avatar
    37 posts
    Member since:
    Nov 2008

    Posted 12 Jan 2010 Link to this post

    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.
  2. Tsviatko Yovtchev
    Tsviatko Yovtchev avatar
    538 posts

    Posted 13 Jan 2010 Link to this post

    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.
Back to Top