Hi,
Examine the following scenario
public class A()
{
try
{
B();
}
catch()
{
//code
}
finally
{
}
}
public class B()
//code depending on the B() output
{
try
{
// code
}
catch
{
//code
}
}
In the above case if any exception occurs in class B(), how will i notify class A that exception has occured and should not continue with the following code since the that code depends on the B's output.
Please do let me know.
Regards,
Rohan Laghate
Best Regards,
Rohan Laghate