I am forever finding try-catch blocks like the following in our code:
public void method()
{
try {
//some code
} catch(Exception ex) {
throw ex;
}
}
What is the need for the try-catch and can someone tell me why we shouldn't do this?