aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-12-17 17:39:00 +0000
committerlloyd <[email protected]>2011-12-17 17:39:00 +0000
commit2d4f236f5a829b9900ca1b9cefaba0f0771e5da2 (patch)
treefa041d0438e29e6de230784110158e1f16861723 /src
parent42b5773c3789370fb9bee914ae4cde6512cec539 (diff)
Make this exception somewhat more understandable. I think.
Diffstat (limited to 'src')
-rw-r--r--src/filters/buf_filt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters/buf_filt.cpp b/src/filters/buf_filt.cpp
index b332d74b8..ca3fa9a3c 100644
--- a/src/filters/buf_filt.cpp
+++ b/src/filters/buf_filt.cpp
@@ -82,7 +82,7 @@ void Buffered_Filter::write(const byte input[], size_t input_size)
void Buffered_Filter::end_msg()
{
if(buffer_pos < final_minimum)
- throw std::runtime_error("Buffered_Operation::final - not enough input");
+ throw std::runtime_error("Buffered filter end_msg without enough input");
size_t spare_blocks = (buffer_pos - final_minimum) / main_block_mod;