我有一个应用程序分为两个模块:FrontEnd和BackEnd。两者都使用RMI连接。
我的问题是从BackEnd抛出了一些异常,不应该记录。
我在日志
中收到此条目16:46:01,208 WARN [RemoteInvocationTraceInterceptor] Processing of RmiServiceExporter remote call resulted in fatal exception: com.garson.lightball.wizard.IWizardService.process com.garson.lightball.wizard.WizardRedirectionException at com.garson.lightball.views.menu.menus.scope.MenusScopeWizardService._process(MenusScopeWizardService.java:59) at com.garson.lightball.wizard.WizardService.process(WizardService.java:75) at com.garson.lightball.wizard.commons.AbstractBusinessWizardService.step_business(AbstractBusinessWizardService.java:110) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source)
我想避免记录 com.garson.lightball.wizard.WizardRedirectionException
有什么建议吗?
谢谢! 阿德里安