[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 Thu Jul 19 17:23:22 UTC 2018 using JIRA 7.9.0#79000-sha1:3ca552e944c2fe83b21589bc06f155b9b428cc2b.