如何拦截org.apache.cxf.interceptor.Fault

时间:2019-06-06 11:58:13

标签: java spring cxfrs

在我的<div v-for="(project, index) in existingProjects" :key="project.projectId"> <span>foo</span> <div>bar</div> </div> 中,

beans.xml

我发现,当某些用户从任何设备断开其连接时,即使通过邮递员,我也会收到类似

的异常
   <jaxrs:server 
   ...
   <jaxrs:serviceBeans>
        <ref bean="anonymousService"/>
        <ref bean="accountService"/>
        <ref bean="registerService"/>
        <ref bean="logService"/>
    </jaxrs:serviceBeans>
   ...
   </jaxrs:server>

如果我发表评论Interceptor for {http://application.services/}AnonymousServiceImpl has thrown exception, unwinding now ,就像

<ref bean="anonymousService"/>

1)为什么即使客户端调用这些类的方法也不会发生这种情况

2)如何截获该异常?

0 个答案:

没有答案