Exception Handling Using AOP
Let’s learn to use the @AfterThrowing annotation to design exception handling for the todo application.
We'll cover the following...
We'll cover the following...
So far, we’ve explored a few of AspectJ’s annotations, such as @Before and @Around, to design a cross-cutting concern for our todo app. Next, we’ll implement a cross-cutting concern for exception logging using the Spring AOP.
The @AfterThrowing annotation
Let’s add the logException ...