Hello, would you be so gentle to explain us something. We had a concept problem while studing "thinking in java". We are not able to realize about the rethrowing of a catched exception; particularly we don't understand the following sentence: the Rethrowing an exception causes it to go to the exception handlers in the next-higher context. reading the code we wasn't able to understand who is the next-higher context (number 17):
> ...we were not able to understand who > is the next-higher context (number 17):
The 'next higher context' is the method that calls the method that throws the Exception. In your example it is the 'main' method. In other circumstances it could be a method in another class that calls g(). The point is that method g() does not know what method is calling it.