} catch (TransformerException e) {
throw new CitrusRuntimeException("Failed to handle fault response message", e);
}
} else if (getEndpointConfiguration().getErrorHandlingStrategy().equals(ErrorHandlingStrategy.THROWS_EXCEPTION)) {
if (webServiceResponse instanceof org.springframework.ws.soap.SoapMessage) {
new SoapFaultMessageResolver().resolveFault(webServiceResponse);
} else {
new SimpleFaultMessageResolver().resolveFault(webServiceResponse);
}
} else {
throw new CitrusRuntimeException("Unsupported error strategy: " + getEndpointConfiguration().getErrorHandlingStrategy());