CppCMS
Public Member Functions
booster::system::system_error Class Reference

This is the object that should be thrown in case of the error. More...

#include <booster/booster/system_error.h>

Inheritance diagram for booster::system::system_error:
booster::runtime_error booster::backtrace

List of all members.

Public Member Functions

 system_error (error_code const &e)
 system_error (error_code const &e, std::string const &message)
 system_error (error_code const &e, char const *message)
 system_error (int ev, error_category const &category, char const *message)
 system_error (int ev, error_category const &category, std::string const &message)
 system_error (int ev, error_category const &category)
error_code const & code () const

Detailed Description

This is the object that should be thrown in case of the error.

It consists of two parts: the error_code object and the optional error message that would be added to the error code itself.


Constructor & Destructor Documentation

Create a system error from error_code e

booster::system::system_error::system_error ( error_code const &  e,
std::string const &  message 
) [inline]

Create a system error from error_code e and additional message

booster::system::system_error::system_error ( error_code const &  e,
char const *  message 
) [inline]

Create a system error from error_code e and an additional message message

booster::system::system_error::system_error ( int  ev,
error_category const &  category,
char const *  message 
) [inline]

Create a system error from error_code defined by integer code ev, a error category category and an additional message message

booster::system::system_error::system_error ( int  ev,
error_category const &  category,
std::string const &  message 
) [inline]

Create a system error from error_code defined by integer code ev, a error category category and an additional message message

booster::system::system_error::system_error ( int  ev,
error_category const &  category 
) [inline]

Create a system error from error_code defined by integer code ev, a error category category


Member Function Documentation

Get the error code for the thrown error


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