method 1
public void foo() throws Up, Fit
{
...
}
method 2 calls method 1
public void callsFoo() throws Fit
{
try
{
foo();
}
catch (Up u)
{
...
}
catch (Fit f)
{
...
throw f;
}
}

New Topic/Question
Reply



MultiQuote




|