diff --git a/core/src/main/java/org/springframework/ws/soap/server/endpoint/SoapFaultMappingExceptionResolver.java b/core/src/main/java/org/springframework/ws/soap/server/endpoint/SoapFaultMappingExceptionResolver.java index cd1a7367..1264ce18 100644 --- a/core/src/main/java/org/springframework/ws/soap/server/endpoint/SoapFaultMappingExceptionResolver.java +++ b/core/src/main/java/org/springframework/ws/soap/server/endpoint/SoapFaultMappingExceptionResolver.java @@ -27,7 +27,8 @@ import org.springframework.ws.soap.SoapMessage; import org.springframework.ws.soap.soap11.Soap11Body; /** - * Exception resolver that generates a <soap:fault> based on the given exception. + * Exception resolver that allows for mapping exception class names to SOAP Faults. The mappings are set using the + * exceptionMappings property, the format of which is documented in {@link SoapFaultDefinitionEditor}. * * @author Arjen Poutsma */ @@ -44,12 +45,15 @@ public class SoapFaultMappingExceptionResolver extends AbstractEndpointException * The values of the given properties object should use the format described in * SoapFaultDefinitionEditor. *

- * Follows the same matching algorithm as RuleBasedTransactionAttribute and RollbackRuleAttribute. + * Follows the same matching algorithm as RuleBasedTransactionAttribute and + * RollbackRuleAttribute. * * @param mappings exception patterns (can also be fully qualified class names) as keys, fault definition texts as * values * @see SoapFaultDefinitionEditor * @see org.springframework.web.servlet.handler.SimpleMappingExceptionResolver + * @see org.springframework.transaction.interceptor.RuleBasedTransactionAttribute + * @see org.springframework.transaction.interceptor.RollbackRuleAttribute */ public void setExceptionMappings(Properties mappings) { exceptionMappings = mappings;