Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] (very newbie question) Logging exceptions

This question has propably been posted a million times before.
Unfortunately I cannot find a working solution anywhere.

I want to get rid of all the log.error lines in my code, so I want to
write an aspect that logs exceptions when they occur, or when the
catch statement is entered and log the exception message and the line
and class in which it occurred.

--
Thanks,
Kees de Kooter
http://www.boplicity.net


--
Cheers,
Kees de Kooter
http://www.boplicity.nl


Back to the top