Interface ExitCodeHandler

All Known Implementing Classes:
DefaultExitCodeHandler

public interface ExitCodeHandler
ExitCodeHandler handles a request to exit with a specified exit code. The default implementation, DefaultExitCodeHandler calls System.exit(int), but other implementations could throw an un-caught Throwable or equivalent to terminate execution of the compiler. In no case should an implementation return normally from processExitCode(int).
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    processExitCode(int exitCode)
    Process the request to exit with the specified exit code.
  • Method Details

    • processExitCode

      void processExitCode(int exitCode)
      Process the request to exit with the specified exit code. Implementations of this method must never return normally.