Index: src/libchcore/TString.cpp
===================================================================
diff -u -ra27d1acf1bda3c25b6dcce0d0eb0278009ce63ae -re8f31b0f922b402878356e130c866c4f3682a7f5
--- src/libchcore/TString.cpp	(.../TString.cpp)	(revision a27d1acf1bda3c25b6dcce0d0eb0278009ce63ae)
+++ src/libchcore/TString.cpp	(.../TString.cpp)	(revision e8f31b0f922b402878356e130c866c4f3682a7f5)
@@ -407,7 +407,7 @@
 		// should also copy the terminating null character
 		errno_t err = wmemmove_s(m_pszData + stIndex, stThisLen - stIndex + 1, m_pszData + stIndex + stCountToDelete, stThisLen - stIndex - stCountToDelete + 1);
 		if (err != 0)
-			THROW_CORE_EXCEPTION(eErr_InternalProblem);
+			throw TCoreException(eErr_InternalProblem, L"Failed to move memory", LOCATION);
 
 		return bResult;
 	}