I have a method doSomething() that has one try catch block, within which I call another method.
public void doSomething()
{
try
{
doSomethingElse()
}
catch
{
}
}
In that other method doSomethingElse() I dont have any try catch block. I am depending on the main method's try-catch to handle the exception. If there are any exceptions in doSomethingElse() they will be bubbled up to the method doSomething's try catch block.
Is there anything wrong with this approach?
Thanks for your time.