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.

TypeAnnoOnExceptionParameter.java 289B

1234567891011
  1. public class TypeAnnoOnExceptionParameter {
  2. class Throwable2 extends Throwable {}
  3. class Throwable3 extends Throwable {}
  4. public void m() {
  5. try {
  6. foo();
  7. } catch (@Anno Throwable3 | @Anno(99) Throwable2 t) {
  8. }
  9. }
  10. public void foo() throws Throwable2,Throwable3 {}
  11. }