Skip to content

EndpointInterceptorAdapter removes "throws Exception" from handleFault() method defined by EndpointInterceptor [SWS-737] #827

@gregturn

Description

@gregturn

Erwin Vervaet opened SWS-737 and commented

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()


Affects: 2.0.2

Referenced from: commits 3e744e7

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions