$search

asio::system_error Class Reference

#include <system_error.hpp>

List of all members.

Public Member Functions

error_code code () const
 Get the error code associated with the exception.
system_erroroperator= (const system_error &e)
 Assignment operator.
 system_error (const system_error &other)
 Copy constructor.
 system_error (const error_code &code, const std::string &context)
 Construct with an error code and context.
 system_error (const error_code &code)
 Construct with an error code.
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_

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Castor
Author(s): Carpe Noctem
autogenerated on Fri Mar 1 14:41:43 2013