Exception handling and after advice
I am using AOP with spring boot. After some method execution successfully I am using @After advice in AOP to do some data base insertion. There is one case if the method throw an exception somewhere then I don't want to execute my @After advice call. I don't have any idea if I catch exception in AOP also my after advise method will going to execute. @After(value = "execution(* saveUpdateMeasures(..)) and args(addMeasure)") public void afterAdviseMeasure(JoinPoint joinPoint,AddMeasures addMeasure) throws Exception { logger.info("url is " + request.getRequestURL() + "?" + request.getQueryString(