We Moved - This Forum is now Read-Only

Our new community is now available at https://support.submain.com/community/. We will leave historical discussions here in this forum view-only mode for search purposes, but moving forward, please post your questions in the appropriate category in the new community.

  SubMain - CodeIt.Right The First Time!


Support Community for SubMain Products
 Home Products Services Download Purchase Support
Home Forums Blogs Tutorials/CIR Tutorials/GD Downloads
Welcome to SubMain Community Sign in | Join | Help

Exception Documentation Not Removed

  •  10-19-2015, 6:09 PM

    Exception Documentation Not Removed

    If I document a method that contains an exception then the exception is documented using an <exception> tag. If I then change the type of exception and re-document then the old exception tag stays there, along with a new entry for the updated exception type. Likewise if I remove the raising of the exception from my method and re-document then it doesn't remove the documentation for that exception. Looking at the rule template for methods it is simply iterating through Context.ExceptionDictionary and outputting one line per exception, so the removed exceptions must still be in the ExceptionDictionary.


    Is this behaviour by design or is there an issue whereby it is not removing excpetion entries when the exception is no longer used by the method?



View Complete Thread
Home |  Products |  Services |  Download |  Purchase |  Support |  Community |  About Us |