Index: src/libchcore/TStringException.h =================================================================== diff -u -N -r8e19bdbb52f053c078c1a7f4e6938493374067af -re96806b7f8ff7ca7e9f4afbea603e6351a3dc3e3 --- src/libchcore/TStringException.h (.../TStringException.h) (revision 8e19bdbb52f053c078c1a7f4e6938493374067af) +++ src/libchcore/TStringException.h (.../TStringException.h) (revision e96806b7f8ff7ca7e9f4afbea603e6351a3dc3e3) @@ -26,18 +26,17 @@ #define THROW_STRING_EXCEPTION(error_code, err_msg)\ throw TStringException(error_code, err_msg, __FILEW__, __LINE__, __FUNCTIONW__) -BEGIN_CHCORE_NAMESPACE - -class LIBCHCORE_API TStringException : public TBaseException +namespace chcore { -public: - TStringException(EGeneralErrors eErrorCode, const wchar_t* pszMsg, const wchar_t* pszFile, size_t stLineNumber, const wchar_t* pszFunction); - TStringException(EGeneralErrors eErrorCode, const char* pszMsg, const wchar_t* pszFile, size_t stLineNumber, const wchar_t* pszFunction); + class LIBCHCORE_API TStringException : public TBaseException + { + public: + TStringException(EGeneralErrors eErrorCode, const wchar_t* pszMsg, const wchar_t* pszFile, size_t stLineNumber, const wchar_t* pszFunction); + TStringException(EGeneralErrors eErrorCode, const char* pszMsg, const wchar_t* pszFile, size_t stLineNumber, const wchar_t* pszFunction); -private: - TStringException(); -}; + private: + TStringException(); + }; +} -END_CHCORE_NAMESPACE - #endif