Skip to content

Instantly share code, notes, and snippets.

@simkimsia
Created April 13, 2013 13:49
Show Gist options
  • Select an option

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

Select an option

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