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

Exception hiding?

1 Answer 76 Views
Let's talk about telerik (the good and the bad)
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 28 Feb 2013, 01:38 PM
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:

Try
    RaiseControlEventMethod()
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.

1 Answer, 1 is accepted

Sort by
0
Stanislav Velikov
Telerik team
answered on 04 Mar 2013, 03:59 PM
Hello,

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.

Tags
Let's talk about telerik (the good and the bad)
Asked by
David
Top achievements
Rank 1
Answers by
Stanislav Velikov
Telerik team
Share this question
or