diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-02-27 14:16:58 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-02-27 14:16:58 +0100 |
commit | 1e2a6c6e367849335fd82efb4afc827fd4fe82a6 (patch) | |
tree | 19d07a64c8bc3ccbba131ff2385fc4ec93660b14 /src/InputZeroMQReader.cpp | |
parent | b11eff2c8c913d470897e5395b240939ed46dc35 (diff) | |
download | dabmod-1e2a6c6e367849335fd82efb4afc827fd4fe82a6.tar.gz dabmod-1e2a6c6e367849335fd82efb4afc827fd4fe82a6.tar.bz2 dabmod-1e2a6c6e367849335fd82efb4afc827fd4fe82a6.zip |
Create custom exception for ZMQ overflow
Diffstat (limited to 'src/InputZeroMQReader.cpp')
-rw-r--r-- | src/InputZeroMQReader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/InputZeroMQReader.cpp b/src/InputZeroMQReader.cpp index 7ac7d41..51909c2 100644 --- a/src/InputZeroMQReader.cpp +++ b/src/InputZeroMQReader.cpp @@ -88,7 +88,7 @@ int InputZeroMQReader::GetNextFrame(void* buffer) in_messages_.wait_and_pop(incoming); if (! workerdata_.running) { - throw std::overflow_error("InputZeroMQ worker dead"); + throw zmq_input_overflow(); } memcpy(buffer, incoming, framesize); |