Spring Boot - Aspect-Oriented Programming
Identify the error in this advice method for logging exceptions:
@AfterThrowing(pointcut = "execution(* com.example.*.*(..))", throwing = "ex")
public void logException(Exception e) {
System.out.println("Exception: " + e.getMessage());
}