Hi Everyone, In Page 35 of javaexceptions.sxi of Exception Handling section, it wrote:
Block of code is always executed despite of different scenarios: Forced exit occurs using a return, a continue or a break statement Normal completion Caught exception thrown Exception was thrown and caught in the method Uncaught exception thrown Exception thrown was not specified in any catch block in the method My question: Since Compiling error like "unreported exception java.lang.Exception; must be caught or declared to be thrown" would be shown and build would fail, why it's said "Block of code is always executed despite of Uncaught exception thrown" ? Thanks~ --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
