summaryrefslogtreecommitdiffstats
path: root/src/InputReader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/InputReader.h')
-rw-r--r--src/InputReader.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/InputReader.h b/src/InputReader.h
index e45e36d..dcf88cc 100644
--- a/src/InputReader.h
+++ b/src/InputReader.h
@@ -130,6 +130,14 @@ class InputFileReader : public InputReader
// after 2**32 * 24ms ~= 3.3 years
};
+struct zmq_input_overflow : public std::exception
+{
+ const char* what () const throw ()
+ {
+ return "InputZMQ buffer overflow";
+ }
+};
+
#if defined(HAVE_ZEROMQ)
/* A ZeroMQ input. See www.zeromq.org for more info */