From ac5fb6be210b63fd7216541679f513dc97491ede Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 31 Jul 2009 17:53:02 +0000 Subject: Wow, Bu::Base64 had a bug about premature end of stream / not base64 data, now it throws exceptions. It'll still try to process bad data for a while though. Also, it turns out that Bu::File never reported EOS, now it does, appropriately. I'm about to change Bu::Stream::isEOS to be Bu::Stream::isEos, this is your warning. --- src/base64.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/base64.h') diff --git a/src/base64.h b/src/base64.h index c7fb737..a00ed0e 100644 --- a/src/base64.h +++ b/src/base64.h @@ -2,9 +2,12 @@ #define BU_BASE64_H #include "bu/filter.h" +#include "bu/exceptionbase.h" namespace Bu { + subExceptionDecl( Base64Exception ); + /** * *@ingroup Streams -- cgit v1.2.3