Solução sem o uso de Design-Rules: Desenvolvimento sequencial | Solução sem o uso de Design-Rules: Desenvolvimento em paralelo |
---|---|
![]() |
![]() |
dr ExceptionHandler { public class org.name.of.package.ProgramExecution { public void readFile { .. IOException exception originated inside this method should not be handled. .. } } aspect org.package.of.aspect.ExceptionAspect { pointcut readFileExecution(): execution(* org.name.of.package.ProgramExecution(..)); void around(): readFileExecution() { ... } } }