开发者

Is it possible to catch all exceptions using aspectj?

开发者 https://www.devze.com 2023-01-26 13:30 出处:网络
I would like to make sure an advice is executed every time an exception is thrown by a method that is annotated with a specific annotation. Is thi开发者_运维知识库s possible?There are after-throwing a

I would like to make sure an advice is executed every time an exception is thrown by a method that is annotated with a specific annotation. Is thi开发者_运维知识库s possible?


There are after-throwing advice. See here

0

精彩评论

暂无评论...
验证码 换一张
取 消