Class MethodCommandExceptionResolver
java.lang.Object
org.springframework.shell.command.annotation.MethodCommandExceptionResolver
- All Implemented Interfaces:
CommandExceptionResolver
-
Constructor Summary
ConstructorDescriptionMethodCommandExceptionResolver
(Object bean, org.jline.terminal.Terminal terminal) -
Method Summary
Modifier and TypeMethodDescriptionTry to resolve the given exception that got thrown during command processing.
-
Constructor Details
-
MethodCommandExceptionResolver
-
MethodCommandExceptionResolver
-
-
Method Details
-
resolve
Description copied from interface:CommandExceptionResolver
Try to resolve the given exception that got thrown during command processing.- Specified by:
resolve
in interfaceCommandExceptionResolver
- Parameters:
ex
- the exception- Returns:
- a corresponding
HandlingResult
framework to handle, ornull
for default processing in the resolution chain
-