List of usage examples for org.springframework.remoting.soap SoapFaultException getCause
public synchronized Throwable getCause()
From source file:com.qpark.eip.core.failure.BaseFailureHandler.java
private static FailureDescription handleSoapFaultException(final SoapFaultException e, final String defaultCode, final Logger log, final Object... data) { FailureDescription fd = null;/*from w ww. ja va2 s .co m*/ if (e.getCause() != null && WebServiceIOException.class.isInstance(e.getCause())) { fd = handleWebServiceIOException((WebServiceIOException) e.getCause(), defaultCode, log, data); } else if (e.getCause() != null && WebServiceTransportException.class.isInstance(e.getCause())) { fd = getFailure("E_SOAP_FAULT_CREDENTIAL_ERROR", e, data); } else if (e.getCause() != null && UnmarshallingFailureException.class.isInstance(e.getCause())) { fd = getFailure("E_SOAP_FAULT_MARSHALLING_ERROR", e, data); } return fd; }