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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault precedence related use ofOrderedandOrder. -
Method Summary
Modifier and TypeMethodDescriptionTry to resolve the given exception that got thrown during command processing.
-
Field Details
-
DEFAULT_PRECEDENCE
static final int DEFAULT_PRECEDENCEDefault precedence related use ofOrderedandOrder.- See Also:
-
-
Method Details
-
resolve
Try to resolve the given exception that got thrown during command processing.- Parameters:
ex- the exception- Returns:
- a corresponding
HandlingResultframework to handle, ornullfor default processing in the resolution chain
-