Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::invalid_type Class Reference

Exception class that is used to indicate errors of incorrect type of an object. More...

#include <exceptions.hpp>

Inheritance diagram for boost::invalid_type:
Collaboration diagram for boost::invalid_type:

Public Member Functions

 invalid_type ()
 Default constructor. More...
 
 invalid_type (std::string const &descr)
 Initializing constructor. More...
 
 ~invalid_type () throw ()
 Destructor. More...
 

Static Public Member Functions

static BOOST_LOG_NORETURN void throw_ (const char *file, std::size_t line)
 
static BOOST_LOG_NORETURN void throw_ (const char *file, std::size_t line, std::string const &descr)
 
static BOOST_LOG_NORETURN void throw_ (const char *file, std::size_t line, std::string const &descr, attribute_name const &name)
 
static BOOST_LOG_NORETURN void throw_ (const char *file, std::size_t line, std::string const &descr, type_info_wrapper const &type)
 
static BOOST_LOG_NORETURN void throw_ (const char *file, std::size_t line, std::string const &descr, attribute_name const &name, type_info_wrapper const &type)
 

Detailed Description

Exception class that is used to indicate errors of incorrect type of an object.

Constructor & Destructor Documentation

boost::invalid_type::invalid_type ( )

Default constructor.

Creates an exception with the default error message.

boost::invalid_type::invalid_type ( std::string const &  descr)
explicit

Initializing constructor.

Creates an exception with the specified error message.

boost::invalid_type::~invalid_type ( )
throw (
)

Destructor.

Member Function Documentation

static BOOST_LOG_NORETURN void boost::invalid_type::throw_ ( const char *  file,
std::size_t  line 
)
static
static BOOST_LOG_NORETURN void boost::invalid_type::throw_ ( const char *  file,
std::size_t  line,
std::string const &  descr 
)
static
static BOOST_LOG_NORETURN void boost::invalid_type::throw_ ( const char *  file,
std::size_t  line,
std::string const &  descr,
attribute_name const &  name 
)
static
static BOOST_LOG_NORETURN void boost::invalid_type::throw_ ( const char *  file,
std::size_t  line,
std::string const &  descr,
type_info_wrapper const &  type 
)
static
static BOOST_LOG_NORETURN void boost::invalid_type::throw_ ( const char *  file,
std::size_t  line,
std::string const &  descr,
attribute_name const &  name,
type_info_wrapper const &  type 
)
static

The documentation for this class was generated from the following file: