You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LongLong.java 413B

1234567891011121314
  1. public class LongLong implements II {
  2. public void m1(String arg) {
  3. }
  4. public static void main(String [] args) throws Exception {
  5. try {
  6. new LongLong().m1(null);
  7. throw new Exception("(BAD) advice did not run");
  8. } catch (RuntimeException e) {
  9. System.out.println("(GOOD) advice ran and threw expected exception");
  10. e.printStackTrace(System.out);
  11. }
  12. }
  13. }