#include <system_error.hpp>
Public Member Functions | |
| 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 | ~system_error () throw () |
| Destructor. | |
| system_error & | operator= (const system_error &e) |
| Assignment operator. | |
| virtual const char * | what () const throw () |
| Get a string representation of the exception. | |
| error_code | code () const |
| Get the error code associated with the exception. | |
Private Attributes | |
| error_code | code_ |
| std::string | context_ |
| boost::scoped_ptr< std::string > | what_ |
Definition at line 34 of file system_error.hpp.
| asio::system_error::system_error | ( | const error_code & | code | ) | [inline] |
| asio::system_error::system_error | ( | const error_code & | code, | |
| const std::string & | context | |||
| ) | [inline] |
| asio::system_error::system_error | ( | const system_error & | other | ) | [inline] |
| virtual asio::system_error::~system_error | ( | ) | throw () [inline, virtual] |
| system_error& asio::system_error::operator= | ( | const system_error & | e | ) | [inline] |
| 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.
References code_, context_, asio::error_code::message(), and what_.
Referenced by libtorrent::aux::session_impl::open_listen_port().
| 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.
References code_.
Referenced by asio::ssl::detail::openssl_stream_service::handshake(), libtorrent::aux::session_impl::open_listen_port(), asio::ssl::detail::openssl_stream_service::read_some(), asio::ssl::detail::openssl_stream_service::shutdown(), and asio::ssl::detail::openssl_stream_service::write_some().
error_code asio::system_error::code_ [private] |
std::string asio::system_error::context_ [private] |
boost::scoped_ptr<std::string> asio::system_error::what_ [mutable, private] |
1.5.6