internet_exception Class Reference
[Error Library]

#include <inetstl/error/exceptions.hpp>

List of all members.


Detailed Description

General exception class for internet-related failures.

Types

typedef stlsoft::exception_string string_type
typedef os_exception parent_class_type
typedef int error_code_type
typedef internet_exception class_type

Construction

 internet_exception (error_code_type err)
 internet_exception (class_type const &rhs)
 internet_exception (char const *reason, error_code_type err)
virtual ~internet_exception () throw ()
 Destructor.
 internet_exception (string_type const &reason, error_code_type err)

Public Member Functions

Accessors
virtual char const * what () const throw ()
error_code_type get_error_code () const throw ()
 The error code associated with the exception.
error_code_type last_error () const throw ()
 [DEPRECATED] The error code associated with the exception
error_code_type error () const throw ()
 [DEPRECATED] The error code associated with the exception

Constructor & Destructor Documentation

virtual ~internet_exception (  )  throw () [inline, virtual]

Destructor.

Note:
This does not do have any implementation, but is required to placate the Comeau and GCC compilers, which otherwise complain about mismatched exception specifications between this class and its parent


Member Function Documentation

error_code_type get_error_code (  )  const throw () [inline]

The error code associated with the exception.

error_code_type last_error (  )  const throw () [inline]

[DEPRECATED] The error code associated with the exception

Deprecated:
Use get_error_code() instead.

error_code_type error (  )  const throw () [inline]

[DEPRECATED] The error code associated with the exception

Deprecated:
Use get_error_code() instead.


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

Generated on Thu Jun 10 08:58:27 2010 for STLSoft by  doxygen 1.5.6