public class SoapFaultAnnotationExceptionResolver extends AbstractSoapFaultDefinitionExceptionResolver
EndpointExceptionResolver
interface that uses the SoapFault
annotation to map exceptions to SOAP Faults.logger
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
SoapFaultAnnotationExceptionResolver() |
Modifier and Type | Method and Description |
---|---|
protected SoapFaultDefinition |
getFaultDefinition(Object endpoint,
Exception ex)
Template method that returns the
SoapFaultDefinition for the given exception. |
customizeFault, resolveExceptionInternal, setDefaultFault
buildLogMessage, getOrder, logException, resolveException, setMappedEndpoints, setOrder, setWarnLogCategory
public SoapFaultAnnotationExceptionResolver()
protected final SoapFaultDefinition getFaultDefinition(Object endpoint, Exception ex)
AbstractSoapFaultDefinitionExceptionResolver
SoapFaultDefinition
for the given exception.getFaultDefinition
in class AbstractSoapFaultDefinitionExceptionResolver
endpoint
- the executed endpoint, or null
if none chosen at the time of the exceptionex
- the exception to be handlednull
if none is found.