Interface SystemExiter

All Known Implementing Classes:
JvmSystemExiter

public interface SystemExiter
Interface for exiting the JVM. This abstraction is only useful in order to allow classes that make System.exit calls to be testable, since calling System.exit during a unit test would cause the entire jvm to finish.
Author:
Lucas Ward
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    exit(int status)
    Terminate the currently running Java Virtual Machine.
  • Method Details

    • exit

      void exit(int status)
      Terminate the currently running Java Virtual Machine.
      Parameters:
      status - exit status.
      See Also: