Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
exceptions.hpp File Reference
#include <cstddef>
#include <string>
#include <stdexcept>
#include <boost/preprocessor/seq/enum.hpp>
#include <boost/log/detail/config.hpp>
#include <boost/log/attributes/attribute_name.hpp>
#include <boost/log/utility/type_info_wrapper.hpp>
#include <boost/log/detail/header.hpp>
#include <boost/log/detail/footer.hpp>
Include dependency graph for exceptions.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  boost::runtime_error
 Base class for runtime exceptions from the logging library. More...
 
class  boost::missing_value
 Exception class that is used to indicate errors of missing values. More...
 
class  boost::invalid_type
 Exception class that is used to indicate errors of incorrect type of an object. More...
 
class  boost::invalid_value
 Exception class that is used to indicate errors of incorrect value of an object. More...
 
class  boost::parse_error
 Exception class that is used to indicate parsing errors. More...
 
class  boost::conversion_error
 Exception class that is used to indicate conversion errors. More...
 
class  boost::system_error
 Exception class that is used to indicate underlying OS API errors. More...
 
class  boost::logic_error
 Base class for logic exceptions from the logging library. More...
 
class  boost::odr_violation
 Exception class that is used to indicate ODR violation. More...
 
class  boost::unexpected_call
 Exception class that is used to indicate invalid call sequence. More...
 
class  boost::setup_error
 Exception class that is used to indicate invalid library setup. More...
 
class  boost::limitation_error
 Exception class that is used to indicate library limitation. More...
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::aux
 

Macros

#define BOOST_LOG_THROW(ex)   ex::throw_(__FILE__, static_cast< std::size_t >(__LINE__))
 
#define BOOST_LOG_THROW_DESCR(ex, descr)   ex::throw_(__FILE__, static_cast< std::size_t >(__LINE__), descr)
 
#define BOOST_LOG_THROW_DESCR_PARAMS(ex, descr, params)   ex::throw_(__FILE__, static_cast< std::size_t >(__LINE__), descr, BOOST_PP_SEQ_ENUM(params))
 

Functions

BOOST_LOG_API void boost::aux::attach_attribute_name_info (exception &e, attribute_name const &name)
 Attaches attribute name exception information. More...
 

Variables

class BOOST_SYMBOL_VISIBLE boost::exception
 

Detailed Description

Author
Andrey Semashev
Date
31.10.2009

The header contains exception classes declarations.

Macro Definition Documentation

#define BOOST_LOG_THROW (   ex)    ex::throw_(__FILE__, static_cast< std::size_t >(__LINE__))
#define BOOST_LOG_THROW_DESCR (   ex,
  descr 
)    ex::throw_(__FILE__, static_cast< std::size_t >(__LINE__), descr)