| Reference | Class Hierarchy | Class Index | Member Index |
Inheritance diagram for asio::system_exception:

Public Member Functions | |
| system_exception (const std::string &context, int code) | |
| Construct with a specific context and error code. | |
| system_exception (const system_exception &e) | |
| Copy constructor. | |
| virtual | ~system_exception () throw () |
| Destructor. | |
| system_exception & | operator= (const system_exception &e) |
| Assignment operator. | |
| virtual const char * | what () const throw () |
| Get a string representation of the exception. | |
| const std::string & | context () const |
| Get the implementation-defined context associated with the exception. | |
| int | code () const |
| Get the implementation-defined code associated with the exception. | |
Related Functions | |
| (Note that these are not member functions.) | |
| template<typename Ostream> | |
| Ostream & | operator<< (Ostream &os, const system_exception &e) |
| Output the string associated with a system exception. | |
| asio::system_exception::system_exception | ( | const std::string & | context, | |
| int | code | |||
| ) |
Construct with a specific context and error code.
| asio::system_exception::system_exception | ( | const system_exception & | e | ) |
Copy constructor.
| virtual asio::system_exception::~system_exception | ( | ) | throw () [virtual] |
Destructor.
| system_exception& asio::system_exception::operator= | ( | const system_exception & | e | ) |
Assignment operator.
| virtual const char* asio::system_exception::what | ( | ) | const throw () [virtual] |
Get a string representation of the exception.
| const std::string& asio::system_exception::context | ( | ) | const |
Get the implementation-defined context associated with the exception.
| int asio::system_exception::code | ( | ) | const |
Get the implementation-defined code associated with the exception.
| Ostream & operator<< | ( | Ostream & | os, | |
| const system_exception & | e | |||
| ) | [related] |
Output the string associated with a system exception.
Used to output a human-readable string that is associated with a system exception.
| os | The output stream to which the string will be written. | |
| e | The exception to be written. |