Exception raised within a try/catch block (Java)
<p>I just started to learn Java few weeks ago. I read from my textbook that it says: if an exception occurs half-way through executing a block of code that is surrounded by a ‘try’ block and is followed by several ‘catch’ clauses (that have their own code blocks), the remainder of the try block will be skipped and if there is a catch clause that matches the type of exception, then the block associated with the catch clause will be executed.
However, what happens if no matching catch clause is present? Nothing will executed or any specific case will happen? I understand it's just a simple question but I can't find any answer of it. Thanks for your help.</p>