Interface ExitCodeProvider
- All Known Implementing Classes:
BadClusterStateException,BadCommandArgumentsException,BadConfigException,ServiceLaunchException,SliderException,UsageException
public interface ExitCodeProvider
Get the exit code of an exception. Making it an interface allows
us to retrofit exit codes onto existing classes
-
Method Summary
-
Method Details
-
getExitCode
int getExitCode()Method to get the exit code- Returns:
- the exit code
-