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

查看:23
本文介绍了审计 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天全站免登陆