throw new doesn't work

javaism...
This commit is contained in:
Michael Davidsaver
2018-02-13 18:07:58 -08:00
parent c6b1d3b738
commit 18758fa497

View File

@@ -337,7 +337,7 @@ void AbstractCodec::processReadSegmented() {
" %s:%d: %s, disconnecting...",
__FILE__, __LINE__, inetAddressToString(*getLastReadBufferSocketAddress()).c_str());
invalidDataStreamHandler();
throw new invalid_data_stream_exception(
throw invalid_data_stream_exception(
"not-a-first segmented message expected");
}