} else if (e instanceof WsNotUnderstoodException) {
fault = new SoapFault(SoapFault.FAULT_CODE_MUST_UNDERSTAND, e.getMessage(), null);
} else {
fault = new SoapFault(SoapFault.FAULT_CODE_SERVER, e.getMessage(), null);
if (m_includeStackTrace) {
fault.addDetailWriter(new ExceptionWriter(e, m_includeStackTrace));
}
}
soapProcessor.sendFaultMessage(fault, outConn);
} catch (Throwable ex) {
logger.error("Error while processing prior error", ex);