审计Java:系统检测异常抛出/捕获(aop?) [英] Audit Java: system to detect exceptions thrown / caught (aop?)

查看:191
本文介绍了审计Java:系统检测异常抛出/捕获(aop?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于检查异常,我们可以在生产中遇到一些问题,所有异常都捕获在正确的位置并正确记录。

Due to checked exceptions, we can have some problems in production having all exceptions caught in the right place and logged correctly.

我想知道是否有一些开源工具帮助审核这些问题。

I wonder if there is some opensource tool to help with auditing these problems.

例如,是否有一些AOP工具可以拦截抛出的所有异常,并查看是否重新抛出,包装或记录?

For example, is there some AOP tool that would intercept all exceptions thrown and see if they are re-thrown, wrapped or logged? This would help identify the bad catches.

推荐答案

我知道问题要求开源解决方案。我不知道一个,但是如果选项在那里,那么 DynaTrace 确实强>你想要什么祝你好运。

I know the question asks for an open source solution. I don't know of one but if the option is there then DynaTrace does exactly what you want. Good luck on your search.

这篇关于审计Java:系统检测异常抛出/捕获(aop?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆