GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — java_visualize/example-code/Exception.java at master · daveagp/java_visualize Expand file tree/ Copy pathException.javaMore file actions 17 lines (16 loc) · 376 Bytes / Copy pathException.javaFile metadata and controls17 lines (16 loc) · 376 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 public class Exception { public static void main(String[] args) { // this one will be caught int x = 0; try { x = 1/x; } catch (RuntimeException e) { x = -1; System.out.println("Caught!"); } System.out.println(x); System.out.println(1/0); System.out.println("this won't run"); } } |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |