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

Exception class that is used to indicate invalid call sequence. More...

#include <exceptions.hpp>

Inheritance diagram for boost::unexpected_call:
Collaboration diagram for boost::unexpected_call:

Public Member Functions

 unexpected_call ()
 Default constructor. More...
 
 unexpected_call (std::string const &descr)
 Initializing constructor. More...
 
 ~unexpected_call () 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)
 

Detailed Description

Exception class that is used to indicate invalid call sequence.

Constructor & Destructor Documentation

boost::unexpected_call::unexpected_call ( )

Default constructor.

Creates an exception with the default error message.

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

Initializing constructor.

Creates an exception with the specified error message.

boost::unexpected_call::~unexpected_call ( )
throw (
)

Destructor.

Member Function Documentation

static BOOST_LOG_NORETURN void boost::unexpected_call::throw_ ( const char *  file,
std::size_t  line 
)
static
static BOOST_LOG_NORETURN void boost::unexpected_call::throw_ ( const char *  file,
std::size_t  line,
std::string const &  descr 
)
static

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