@FunctionalInterface public interface ExitCodeExceptionMapper
Modifier and Type | Method and Description |
---|---|
int |
getExitCode(Throwable exception)
Returns the exit code that should be returned from the application.
|
int getExitCode(Throwable exception)
exception
- the exception causing the application to exit0
.Copyright © 2021 Pivotal Software, Inc.. All rights reserved.