Index: src/libchengine/TOrderedBufferQueue.h =================================================================== diff -u -N -r0d5b67ee96b435d63f7bf075dc8e28603793b187 -rf102f95617e81f56adbed6403e42602ea8c509b5 --- src/libchengine/TOrderedBufferQueue.h (.../TOrderedBufferQueue.h) (revision 0d5b67ee96b435d63f7bf075dc8e28603793b187) +++ src/libchengine/TOrderedBufferQueue.h (.../TOrderedBufferQueue.h) (revision f102f95617e81f56adbed6403e42602ea8c509b5) @@ -24,6 +24,8 @@ #include "TOverlappedDataBuffer.h" #include "TBufferList.h" #include +#include "../libchcore/ErrorCodes.h" +#include "../libchcore/TCoreException.h" namespace chengine { @@ -91,9 +93,9 @@ void TOrderedBufferQueue::PushError(TOverlappedDataBuffer* pBuffer, T& rRetryQueue) { if(!pBuffer) - throw TCoreException(eErr_InvalidArgument, L"pBuffer is NULL", LOCATION); + throw chcore::TCoreException(chcore::eErr_InvalidArgument, L"pBuffer is NULL", LOCATION); if(!pBuffer->HasError()) - throw TCoreException(eErr_InvalidArgument, L"Cannot push successful buffer to failed queue", LOCATION); + throw chcore::TCoreException(chcore::eErr_InvalidArgument, L"Cannot push successful buffer to failed queue", LOCATION); boost::unique_lock lock(m_mutex);