This method ends a running application. This operation is implemented in the concrete adapter for the target operating system.
Public
static void endApplication(int errorCode);
errorCode
The error code to be passed to the operating system, if required