Tag: jdk7

  • Catching Multiple Exceptions in Java JDK 7

    I did some experimentation with catching multiple exceptions in Java 7. Given the following class definitions: // all in individual files for package test class QException extends Exception { public void blah() { System.out.println(“blah!”); } } class IException extends QException { public void a() { System.out.println(“a!”); } } class OException extends QException { public void […]