public static interface CommandRegistration.ExitCodeSpec
| Modifier and Type | Method and Description |
|---|---|
CommandRegistration.Builder |
and()
Return a builder for chaining.
|
CommandRegistration.ExitCodeSpec |
map(Class<? extends Throwable> e,
int code)
Define mapping from exception to code.
|
CommandRegistration.ExitCodeSpec |
map(Function<Throwable,Integer> function) |
CommandRegistration.ExitCodeSpec map(Class<? extends Throwable> e, int code)
e - the exceptioncode - the exit codeCommandRegistration.ExitCodeSpec map(Function<Throwable,Integer> function)
function - CommandRegistration.Builder and()
Copyright © 2023. All rights reserved.