Interface CommandExceptionResolver
- All Known Implementing Classes:
CommandParserExceptionResolver
,MethodCommandExceptionResolver
public interface CommandExceptionResolver
Interface to be implemented by objects that can resolve exceptions thrown
during command processing, in the typical case error response. Implementors
are typically registered as beans in the application context or directly
with command.
-
Method Summary
Modifier and TypeMethodDescriptionTry to resolve the given exception that got thrown during command processing.
-
Method Details
-
resolve
Try to resolve the given exception that got thrown during command processing.- Parameters:
ex
- the exception- Returns:
- a corresponding
HandlingResult
framework to handle, ornull
for default processing in the resolution chain
-