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.

SofteningTooMuch.java 281B

123456789101112131415
  1. // pr 48522
  2. public class SofteningTooMuch {
  3. public static void main(String args[]) {
  4. throw new Exception("should be a compiler error here");
  5. }
  6. }
  7. class FooException extends Exception {}
  8. aspect ExcPolicy {
  9. declare soft: FooException: execution(* SofteningTooMuch.*(..));
  10. }