Thread portable class


Gate portable class


Timer class


Pool class


Terimber 2.0


About C++


Downloads Products & Services Support Clients Open Source About



Home / Open source / Terimber 2.0

exception_table Class Reference

base class for exception tables More...

#include <except.h>

List of all members.

Public Member Functions

 exception_table (exception_item *items)
 constructor
const char * get_error (size_t code)
 returns exception description according to code

Private Attributes

exception_item_items
 pointer to the first item
size_t _len
 count of items


Detailed Description

base class for exception tables

Definition at line 52 of file except.h.


Constructor & Destructor Documentation

exception_table::exception_table ( exception_item items  ) 

constructor

Parameters:
items  array of items

Definition at line 50 of file except.cpp.

References exception_item::_desc, and _len.


Member Function Documentation

const char * exception_table::get_error ( size_t  code  ) 

returns exception description according to code

Parameters:
code  exception code

Definition at line 63 of file except.cpp.

References exception_item::_code, exception_item::_desc, _items, and _len.

Referenced by exception::_throw(), and aiosock::resolve_sock_error_code().


Member Data Documentation

pointer to the first item

Definition at line 63 of file except.h.

Referenced by get_error().

size_t exception_table::_len [private]

count of items

Definition at line 64 of file except.h.

Referenced by exception_table(), and get_error().


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


© Copyright Terimber 2003-.