19 #ifndef avro_Exception_hh__
20 #define avro_Exception_hh__
23 #include <boost/format.hpp>
31 class AVRO_DECL
Exception :
public virtual std::runtime_error {
33 explicit Exception(
const std::string &msg) : std::runtime_error(msg) {}
35 explicit Exception(
const boost::format &msg) : std::runtime_error(boost::str(msg)) {}
Wrapper for std::runtime_error that provides convenience constructor for boost::format objects.
Definition: Exception.hh:31
A bunch of templates and specializations for encoding and decoding specific types.
Definition: AvroParse.hh:30