[SWS-737] EndpointInterceptorAdapter removes "throws Exception" from handleFault() method defined by EndpointInterceptor Created: 10/Oct/11  Updated: 04/May/12  Resolved: 17/Oct/11

Status: Closed
Project: Spring Web Services
Component/s: Core
Affects Version/s: 2.0.2
Fix Version/s: 2.0.3

Type: Bug Priority: Major
Reporter: Erwin Vervaet Assignee: Arjen Poutsma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 2m
Original Estimate: Not Specified


EndpointInterceptor defines handleFault as follows:

boolean handleFault(MessageContext messageContext, Object endpoint) throws Exception;

EndpointInterceptorAdapter provides a default implementation like this (notice the missing "throws Exception"):

public boolean handleFault(MessageContext messageContext, Object endpoint) {
return true;

As a result subclasses of EndpointInterceptorAdapter can no longer throw exceptions from handleFault()

Comment by Arjen Poutsma [ 04/May/12 ]

Closing old issues

Generated at Sat Oct 20 17:29:28 UTC 2018 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.