My question is related to exception handling.
If i have for example three methods like this :
Private void Method1()
{
//My code ...
}
Private void Method2()
{
//My code ...
}
Private void Method3()
{
//My code ...
}
And i call the three methods in the page load event like this :
void Page_Load()
{
if(!Page.IsPostBack)
{
Method1();
Method2();
Method3();
}
}
What is the best practice here for exception handling .
[Try and Catch]
the exception for every method ,i mean in the method implementation.or just wrap the calling of the three methods with a single [Try-Catch]
in the page load...