Index: src/libchcore/TPath.cpp =================================================================== diff -u -N -ra27d1acf1bda3c25b6dcce0d0eb0278009ce63ae -re8f31b0f922b402878356e130c866c4f3682a7f5 --- src/libchcore/TPath.cpp (.../TPath.cpp) (revision a27d1acf1bda3c25b6dcce0d0eb0278009ce63ae) +++ src/libchcore/TPath.cpp (.../TPath.cpp) (revision e8f31b0f922b402878356e130c866c4f3682a7f5) @@ -223,7 +223,7 @@ void TSmartPath::FromString(const wchar_t* pszPath) { if (!pszPath) - THROW_CORE_EXCEPTION(eErr_InvalidArgument); + throw TCoreException(eErr_InvalidArgument, L"pszPath", LOCATION); m_strPath = pszPath; } @@ -909,7 +909,7 @@ TSmartPath PathFromString(const wchar_t* pszPath) { if (!pszPath) - THROW_CORE_EXCEPTION_MSG(eErr_InvalidArgument, ("pszPath")); + throw TCoreException(eErr_InvalidArgument, L"pszPath", LOCATION); TSmartPath spPath; spPath.FromString(pszPath);