|
|
|
Home / Open source / Terimber 2.0
exception Class Referencesupports exception
More...
#include <except.h>
List of all members.
Detailed Description
supports exception
Definition at line 69 of file except.h.
Constructor & Destructor Documentation
exception::exception |
( |
size_t |
id, |
|
|
const wchar_t * |
desc | |
|
) |
| | |
exception::exception |
( |
size_t |
id, |
|
|
const char * |
desc | |
|
) |
| | |
constructor
- Parameters:
-
Definition at line 85 of file except.cpp.
exception::~exception |
( |
|
) |
[virtual] |
Member Function Documentation
size_t exception::get_code |
( |
|
) |
const |
void exception::extract_os_error |
( |
size_t |
code, |
|
|
string_t & |
err | |
|
) |
| | [static] |
creates exception object and throws exception the exception description is searched in specified table
- Parameters:
-
Definition at line 110 of file except.cpp.
References exception(), exception_table::get_error(), and os_get_error().
Referenced by dbserver_impl::_check_action(), dbserver_impl::_check_close(), dbserver_impl::_check_connect(), dbserver_impl::_check_disconnect(), dbserver_impl::_check_in_transaction(), dbserver_impl::_check_open(), dbserver_impl::_check_out_transaction(), dbserver_impl::_check_state(), msg_communicator::_decrypt_private_key(), msg_communicator::_extract_keys(), msg_communicator::_register_this(), msg_sock_connection::accept(), msg_listener::accept_address(), msg_communicator::add_connection(), msg_communicator::add_connection_config(), xml_document::add_element(), msg_communicator::add_listener_config(), xml_document::add_pi(), msg_communicator::change_connection_address(), msg_communicator::check_handshake(), check_pointer(), xml_grammar::check_readonly(), msg_communicator::comm_msg(), msg_sock_connection::connect(), msg_rpc_connection::connect(), msg_communicator::construct_msg(), numeric::divide(), byte_consumer::flush(), odbc_dbserver::get_odbc_error(), dbserver_impl::get_param_as_value(), memlookup::get_value_as_value(), terimber_db_value_vector_impl::get_value_as_value(), dbserver_impl::get_value_as_value(), msg_rpc_global::init(), msg_communicator::init(), buffer_loader::load(), msg_communicator::parse_connection(), msg_communicator::parse_listener(), xml_processor::parseDTD(), msg_connection::process_incoming_message(), byte_consumer::push(), msg_queue< P, C >::push(), msg_communicator::reply_handshake(), rpcStatus(), msg_rpc_connection::send_msg(), ServerConnect(), ServerPostBlock(), sockStatus(), byte_source::throw_exception(), msg_cpp::unpack_msg(), orcl_dbserver::v_bind_one_column(), odbc_dbserver::v_bind_one_column(), mysql_dbserver::v_bind_one_column(), orcl_dbserver::v_bind_one_param(), odbc_dbserver::v_bind_one_param(), mysql_dbserver::v_bind_one_param(), orcl_dbserver::v_connect(), orcl_dbserver::v_convert_one_value(), odbc_dbserver::v_convert_one_value(), mysql_dbserver::v_convert_one_value(), msg_communicator::v_do_job(), orcl_dbserver::v_fetch(), odbc_dbserver::v_fetch(), mysql_dbserver::v_fetch(), msg_sock_listener::v_on(), msg_sock_connection::v_on_receive(), orcl_dbserver::v_rebind_one_param(), odbc_dbserver::v_rebind_one_param(), mysql_dbserver::v_rebind_one_param(), odbc_dbserver::v_replace_quote(), mysql_dbserver::v_replace_quote(), content_children::validate(), content_mixed::validate(), xml_document::xml_document(), and xml_exception_throw().
void exception::_throw |
( |
const wchar_t * |
desc |
) |
[static] |
void exception::_throw |
( |
const char * |
desc |
) |
[static] |
const char * exception::what |
( |
|
) |
const |
returns exception description and throws exception
Definition at line 103 of file except.cpp.
References _reason.
Referenced by xml_designer_impl::_import_node(), xml_designer_impl::_load(), xml_processor::parse(), xml_persistor::persist(), msg_user_connection::post(), var_object_repository::process_condition(), var_object_repository::process_query(), var_object_repository::process_values(), dbserver_impl::resize_params(), msg_user_connection::send(), msg_user_connection::send_async(), ServerPostBlock(), xml_designer_impl::update_value(), msg_sock_connection::v_do_job(), msg_communicator::v_do_job(), dbserver_impl::v_do_job(), msg_sock_connection::v_on_connect(), msg_sock_connection::v_on_receive(), and xml_designer_impl::validate().
Member Data Documentation
The documentation for this class was generated from the following files:
|
|
|
|