#include <system_error.hpp>
Public Member Functions | |
error_code | code () const |
Get the error code associated with the exception. | |
system_error & | operator= (const system_error &e) |
Assignment operator. | |
system_error (const error_code &code) | |
Construct with an error code. | |
system_error (const error_code &code, const std::string &context) | |
Construct with an error code and context. | |
system_error (const system_error &other) | |
Copy constructor. | |
virtual const char * | what () const throw () |
Get a string representation of the exception. | |
virtual | ~system_error () throw () |
Destructor. | |
Private Attributes | |
error_code | code_ |
std::string | context_ |
boost::scoped_ptr< std::string > | what_ |
The system_error class is used to represent system conditions that prevent the library from operating correctly.
Definition at line 34 of file system_error.hpp.
asio::system_error::system_error | ( | const error_code & | code | ) | [inline] |
Construct with an error code.
Definition at line 39 of file system_error.hpp.
asio::system_error::system_error | ( | const error_code & | code, |
const std::string & | context | ||
) | [inline] |
Construct with an error code and context.
Definition at line 46 of file system_error.hpp.
asio::system_error::system_error | ( | const system_error & | other | ) | [inline] |
Copy constructor.
Definition at line 53 of file system_error.hpp.
virtual asio::system_error::~system_error | ( | ) | throw () [inline, virtual] |
Destructor.
Definition at line 62 of file system_error.hpp.
error_code asio::system_error::code | ( | ) | const [inline] |
Get the error code associated with the exception.
Definition at line 97 of file system_error.hpp.
system_error& asio::system_error::operator= | ( | const system_error & | e | ) | [inline] |
Assignment operator.
Definition at line 67 of file system_error.hpp.
virtual const char* asio::system_error::what | ( | ) | const throw () [inline, virtual] |
Get a string representation of the exception.
Definition at line 76 of file system_error.hpp.
error_code asio::system_error::code_ [private] |
Definition at line 104 of file system_error.hpp.
std::string asio::system_error::context_ [private] |
Definition at line 107 of file system_error.hpp.
boost::scoped_ptr<std::string> asio::system_error::what_ [mutable, private] |
Definition at line 110 of file system_error.hpp.