Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
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";
- }
|