basics:ex6
Intro Ex1 Ex2 Ex3 Ex4 Ex5 Ex6 Ex7
The Basics: Exercise 6
Add another advice in the aspect Basics
to print a message after a method of class Application
exits with an exception. The message should contain a description of the exception.
Employ
after() throwing(Exception e)
advice instead of before
advice.
Rerun the application and verify that the advice outputs a description for the exception raised inside of the exec
method.
Continue with Exercise 7.
basics/ex6.txt · Last modified: 2021/02/05 13:49 by 127.0.0.1