I'm not sure you need to use AOP for something like this simple example...the reason that in the above example something gets printed is because it bubbles all the way to the top of your application and the message gets printed when the application exits. You could easily print the exception IN your catch block rather than just burying the exception.
i.e. instead of doing this:
Code:
try
{
}
catch(Exception e)
{
// do nothing
}
You can do this:
Code:
try
{
}
catch(Exception e)
{
e.printStackTracke();
}
It's not very clear WHAT you want to do with the exception or HOW you want your application to behave after the exception.