Class CommandRegistration.DefaultErrorHandlingSpec
java.lang.Object
org.springframework.shell.command.CommandRegistration.DefaultErrorHandlingSpec
- All Implemented Interfaces:
CommandRegistration.ErrorHandlingSpec
- Enclosing interface:
- CommandRegistration
public static class CommandRegistration.DefaultErrorHandlingSpec
extends Object
implements CommandRegistration.ErrorHandlingSpec
-
Method Summary
Modifier and TypeMethodDescriptionand()
Return a builder for chaining.resolver
(CommandExceptionResolver resolver)
-
Method Details
-
resolver
Description copied from interface:CommandRegistration.ErrorHandlingSpec
- Specified by:
resolver
in interfaceCommandRegistration.ErrorHandlingSpec
- Parameters:
resolver
- the resolver- Returns:
- a error handling for chaining
-
and
Description copied from interface:CommandRegistration.ErrorHandlingSpec
Return a builder for chaining.- Specified by:
and
in interfaceCommandRegistration.ErrorHandlingSpec
- Returns:
- a builder for chaining
-