User Tools

Site Tools


basics:ex6

This is an old revision of the document!


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.1172246750.txt.gz · Last modified: 2007/02/23 17:05 by bdefrain