Replace EXIT_FAILURE, EXIT_SUCCESS, and EXIT_OUTPUT with static constant members of ApplicationBase.
Macros should be avoided if possible.