Last active
December 16, 2015 04:39
-
-
Save simkimsia/5378414 to your computer and use it in GitHub Desktop.
exercise 24
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 ExceptionDemo19 { | |
| public void doC() throws Exception { | |
| throw new Exception("test"); | |
| } | |
| public void doB() throws Exception { | |
| doC(); | |
| } | |
| public void doA() throws Exception { | |
| doB(); | |
| } | |
| public static void main (String[] args) throws Exception{ | |
| ExceptionDemo19 demo = new ExceptionDemo19(); | |
| demo.doA(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment