@Override public void resolveFault(WebServiceMessage message) throws IOException { // The upper class automatically resolve a SoapFaultClientException try { super.resolveFault(message); } catch(SoapFaultClientException sfce) { // This call will throw specific known exceptions resolvesSpecificException(sfce); // If no specific exception management is done, the SoapFaultClientException is thrown throw sfce; } }
new SoapFaultMessageResolver().resolveFault(webServiceResponse); } else { new SimpleFaultMessageResolver().resolveFault(webServiceResponse);
@Override public void resolveFault(WebServiceMessage message) throws IOException { // The upper class automatically resolve a SoapFaultClientException try { super.resolveFault(message); } catch(SoapFaultClientException sfce) { // This call will throw specific known exceptions resolvesSpecificException(sfce); // If no specific exception management is done, the SoapFaultClientException is thrown throw sfce; } }