Index: src/libchcore/TPathContainer.cpp =================================================================== diff -u -N -re96806b7f8ff7ca7e9f4afbea603e6351a3dc3e3 -re8f31b0f922b402878356e130c866c4f3682a7f5 --- src/libchcore/TPathContainer.cpp (.../TPathContainer.cpp) (revision e96806b7f8ff7ca7e9f4afbea603e6351a3dc3e3) +++ src/libchcore/TPathContainer.cpp (.../TPathContainer.cpp) (revision e8f31b0f922b402878356e130c866c4f3682a7f5) @@ -101,7 +101,7 @@ const TSmartPath& TPathContainer::GetAt(size_t stIndex) const { if (stIndex > m_vPaths.size()) - THROW_CORE_EXCEPTION(eErr_BoundsExceeded); + throw TCoreException(eErr_BoundsExceeded, L"stIndex", LOCATION); return m_vPaths.at(stIndex); } @@ -117,7 +117,7 @@ TSmartPath& TPathContainer::GetAt(size_t stIndex) { if (stIndex > m_vPaths.size()) - THROW_CORE_EXCEPTION(eErr_BoundsExceeded); + throw TCoreException(eErr_BoundsExceeded, L"stIndex", LOCATION); return m_vPaths.at(stIndex); } @@ -133,7 +133,7 @@ void TPathContainer::SetAt(size_t stIndex, const TSmartPath& spPath) { if (stIndex > m_vPaths.size()) - THROW_CORE_EXCEPTION(eErr_BoundsExceeded); + throw TCoreException(eErr_BoundsExceeded, L"stIndex", LOCATION); m_vPaths[stIndex] = spPath; } @@ -148,7 +148,7 @@ void TPathContainer::DeleteAt(size_t stIndex) { if (stIndex > m_vPaths.size()) - THROW_CORE_EXCEPTION(eErr_BoundsExceeded); + throw TCoreException(eErr_BoundsExceeded, L"stIndex", LOCATION); m_vPaths.erase(m_vPaths.begin() + stIndex); }