Exception hiding?

2 posts, 0 answers
  1. David
    David avatar
    1 posts
    Member since:
    May 2012

    Posted 28 Feb 2013 Link to this post

    I currently do business with another component vendor (I won't name it here) and I'm seriously considering ditching them. For reasons that are beyond my understanding they believe it's good design to hide exceptions thrown within their components event handlers:

    Catch ex As Exception
        'Do nothing
    End Try

    I'm interested in Telerik's controls but first I want to know if I'll come across such horrible design principles again.

    Any input would be very much appreciated. Thanks.
  2. Stanislav Velikov
    Stanislav Velikov avatar
    7 posts

    Posted 04 Mar 2013 Link to this post


    Using try catch constructs for exception handling is a good practise and it is used as described here. In the catch block the exception is written to sitefinity error log located in App_Data/Sitefinity/Error.log and for error handling microsoft enterprise library logging application block is used to capture the exception and output details as stack trace time of occurance application name, requested url, etc.
    There is no emty catch block or one that does no error logging.

    All the best,
    Stanislav Velikov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top