I have no idea why I am having this error. I am getting "String literal is not properly closed by a double-quote" on the AfterThrowing annotation(see the attached image).
Thanks,Code:@AfterThrowing(pointcut="FileOperationLogging()",throwing="e") public void logAfterThrowing(JoinPoint joinPoint, NullPointerException e){ log.error("NullPointerException in " + joinPoint.getSignature().getName() + "()"); }


Reply With Quote