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.

1234567891011121314151617181920212223
  1. import java.io.IOException;
  2. import org.aspectj.lang.SoftException;
  3. public class VerifyError {
  4. static void foo() throws IOException {
  5. throw new IOException();
  6. }
  7. public static void main(String[] args) throws Exception{
  8. try {
  9. foo();
  10. } catch (SoftException sEx) {
  11. //
  12. }
  13. }
  14. }
  15. aspect Soften {
  16. declare soft : IOException : call(* foo());
  17. }