MAKE_EXCEPTION_CLASS and THROW_EXCEPTION macros added.
ISingleton class added.