X-Git-Url: http://git.tdb.fi/?p=libs%2Fnet.git;a=blobdiff_plain;f=source%2Fcommunicator.cpp;h=0209f2d93e6783fd2a402dff1bfecad344da481b;hp=1bb0fde49592f81d9f9c2fa91a22a52431f45e7a;hb=4696a776e2875697ea0d6a733609dd9c37918971;hpb=65b029e8334d4dfc9a6161fc04740b03d56a8e2f diff --git a/source/communicator.cpp b/source/communicator.cpp index 1bb0fde..0209f2d 100644 --- a/source/communicator.cpp +++ b/source/communicator.cpp @@ -73,7 +73,7 @@ Communicator::~Communicator() void Communicator::initiate_handshake() { if(handshake_status!=0) - throw InvalidState("Handshaking is already underway or done"); + throw sequence_error("handshaking already done"); send_handshake(); handshake_status = 1;