Inner try/catch block is never executed because you are forcing to throw an exception (throw new Level1Exception();) before the inner try/catch block. JVM does not like these kind of situations in the code.
Inner try/catch block is never executed because you are, unconditionally, forcing to throw an exception (throw new Level1Exception();) before the inner try/catch block. JVM does not like these kind of situations in the code.
The code is unreachable because since in the previous line you are throwing an exception, the try block can never be reached when the program runs.That is why it complains that the code is unreachable.
Well behaved women rarely make history - Eleanor Roosevelt. tiny ad: