Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try {
- // Statements that may throw exceptions
- methodThrowingExceptions();
- } catch (Exception ex) {
- // Exception caught and handled here
- reportException(ex);
- } finally {
- // Statements always executed after the try/catch blocks
- freeResources();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement