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