Skip to content

Instantly share code, notes, and snippets.

@simkimsia
Last active December 16, 2015 04:39
Show Gist options
  • Select an option

  • Save simkimsia/5378414 to your computer and use it in GitHub Desktop.

Select an option

Save simkimsia/5378414 to your computer and use it in GitHub Desktop.
exercise 24
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