7 #ifndef __XSTREAM_EXCEPT_BZ_H
8 #define __XSTREAM_EXCEPT_BZ_H
27 const std::string& w=
"generic error in bzlib stream"
52 xstream::bz::ostreambuf* p,
79 xstream::bz::istreambuf* p,
Main header file for exception related to xstream library.
compress_error(xstream::bz::ostreambuf *p)
general errors only detected at runtime, no solution possible
virtual std::string module() const
describes the current library module (zlib,bzlib,base64,...)
compress_error(xstream::bz::ostreambuf *p, const std::string &w)
xstream::bz::istreambuf * stream
istreambuf that caused the exception
C++ streambuf interface to read and write bzip2 streams.
decompress_error(xstream::bz::istreambuf *p)
general bzlib compression errors
decompress_error(xstream::bz::istreambuf *p, const std::string &w)
general bzlib decompression errors
virtual std::string module() const
describes the current library module (zlib,bzlib,base64,...)
virtual std::string module() const
describes the current library module (zlib,bzlib,base64,...)
xstream::bz::ostreambuf * stream
ostreambuf that caused the exception
virtual std::string module() const
describes the current library module (zlib,bzlib,base64,...)
general_error(const std::string &w="generic error in bzlib stream")