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.
12345678910 |
- public aspect ExceptionAspect
- {
- pointcut exceptionThrower() :
- execution(public * ExceptionBugTest.*(..) throws Exception+);
-
- declare warning : exceptionThrower() : "throws both";
-
- declare error : execution(public * ExceptionBugTest.*(..) throws Exception) :
- "throws Exception";
- }
|