Spring Web Services Framework

org.springframework.ws.soap.server.endpoint
Class SoapFaultAnnotationExceptionResolver

java.lang.Object
  extended by org.springframework.ws.server.endpoint.AbstractEndpointExceptionResolver
      extended by org.springframework.ws.soap.server.endpoint.AbstractSoapFaultDefinitionExceptionResolver
          extended by 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

Field Summary
 
Fields inherited from class org.springframework.ws.server.endpoint.AbstractEndpointExceptionResolver
logger
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
SoapFaultAnnotationExceptionResolver()
           
 
Method Summary
protected  SoapFaultDefinition getFaultDefinition(Object endpoint, Exception ex)
          Template method that returns the SoapFaultDefinition for the given exception.
 
Methods inherited from class org.springframework.ws.soap.server.endpoint.AbstractSoapFaultDefinitionExceptionResolver
customizeFault, resolveExceptionInternal, setDefaultFault
 
Methods inherited from class org.springframework.ws.server.endpoint.AbstractEndpointExceptionResolver
buildLogMessage, getOrder, logException, resolveException, setMappedEndpoints, setOrder, setWarnLogCategory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapFaultAnnotationExceptionResolver

public SoapFaultAnnotationExceptionResolver()
Method Detail

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 exception
ex - the exception to be handled
Returns:
the definition mapped to the exception, or null if none is found.

Spring Web Services Framework

Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.