org.springframework.ws.soap.server.endpoint
Class SoapFaultAnnotationExceptionResolver
java.lang.Object
org.springframework.ws.server.endpoint.AbstractEndpointExceptionResolver
org.springframework.ws.soap.server.endpoint.AbstractSoapFaultDefinitionExceptionResolver
org.springframework.ws.soap.server.endpoint.SoapFaultAnnotationExceptionResolver
- All Implemented Interfaces:
- Ordered, EndpointExceptionResolver
public class SoapFaultAnnotationExceptionResolver
- extends AbstractSoapFaultDefinitionExceptionResolver
Implementation of the EndpointExceptionResolver
interface that uses the SoapFault
annotation to map exceptions to SOAP Faults.
- Since:
- 1.0.0
- Author:
- Arjen Poutsma
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoapFaultAnnotationExceptionResolver
public SoapFaultAnnotationExceptionResolver()
getFaultDefinition
protected final SoapFaultDefinition getFaultDefinition(Object endpoint,
Exception ex)
- Description copied from class:
AbstractSoapFaultDefinitionExceptionResolver
- Template method that returns the
SoapFaultDefinition
for the given exception.
- Specified by:
getFaultDefinition
in class AbstractSoapFaultDefinitionExceptionResolver
- Parameters:
endpoint
- the executed endpoint, or null
if none chosen at the time of the exceptionex
- the exception to be handled
- Returns:
- the definition mapped to the exception, or
null
if none is found.
Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.