Skip to content

log Exceptions in SoapFaultMappingExceptionResolver (like spring webmvc SimpleMappingExceptionResolver) [SWS-490] #623

@gregturn

Description

@gregturn

Nicholas Blair opened SWS-490 and commented

The SimpleMappingExceptionResolver class in the Spring Web MVC project allows you to specify a "warnLogCategory"; when exceptions are resolved, and "WARN" level is available for the logger in the specified category, the SimpleMappingExceptionResolver logs the exception.

The SoapFaultMappingExceptionResolver methods involved in resolving an exception are all marked final, preventing extension of this class in order to add similar logging behavior.

The SoapFaultMappingExceptionResolver works great in returning SOAP Faults to clients in the event of an exception in the underlying business code, however my endpoint's log file does not contain any record of the problem.


Affects: 1.5.6

Referenced from: commits 35f2e8e

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions