Created
April 13, 2013 13:49
-
-
Save simkimsia/5378481 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class ExceptionDemo20 { | |
| public static void main (String[] args) throws Exception{ | |
| a(); | |
| } | |
| public static void a() throws Exception{ | |
| try { | |
| c(); | |
| } catch (Exception e) { | |
| b(); | |
| } | |
| } | |
| public static void b() throws Exception { | |
| c(); | |
| } | |
| public static void c() throws Exception { | |
| throw new Exception("test"); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment