|
VMime
|
#include <exception.hpp>


Public Member Functions | |
| exception (const string &what, const exception &other=NO_EXCEPTION) | |
| exception (const exception &e) | |
| virtual | ~exception () throw () |
| void | chainException (const exception &other) |
| const exception * | other () const throw () |
| virtual const char * | name () const throw () |
| virtual exception * | clone () const |
Static Protected Attributes | |
| static const exception | NO_EXCEPTION |
Base class for VMime exceptions.
| exception | ( | const string & | what, |
| const exception & | other = NO_EXCEPTION ) |
References clone(), NO_EXCEPTION, and other().
| exception | ( | const exception & | e | ) |
References clone().
|
virtual | ||||||||||||
| void chainException | ( | const exception & | other | ) |
Chain the specified exception with this exception.
| other | next exception in the chain |
References other().
|
virtual |
Clone this object.
Reimplemented in already_connected, authentication_error, authentication_exception, bad_field_value_type, charset_conv_error, command_error, connection_error, connection_greeting_error, file_not_found, filesystem_exception, folder_already_open, folder_not_found, illegal_byte_sequence_for_charset, illegal_operation, illegal_state, invalid_argument, invalid_folder_name, invalid_property_type, invalid_response, malformed_url, message_not_found, net_exception, no_auth_information, no_digest_algorithm_available, no_encoder_available, no_expeditor, no_factory_available, no_platform_handler, no_recipient, no_such_field, no_such_mechanism, no_such_message_id, no_such_part, no_such_property, not_a_directory, not_connected, open_file_error, operation_cancelled, operation_not_supported, operation_timed_out, partial_fetch_not_supported, sasl_exception, socket_exception, socket_not_connected_exception, system_error, tls_exception, unfetched_object, unsupported_option, SMTPCommandError, SMTPMessageSizeExceedsCurLimitsException, SMTPMessageSizeExceedsMaxLimitsException, certificateException, certificateExpiredException, certificateIssuerVerificationException, certificateNotTrustedException, certificateNotYetValidException, serverIdentityException, and unsupportedCertificateTypeException.
Referenced by exception(), and exception().
|
virtual | ||||||||||||
Return a name identifying the exception.
Reimplemented in already_connected, authentication_error, authentication_exception, bad_field_value_type, charset_conv_error, command_error, connection_error, connection_greeting_error, file_not_found, filesystem_exception, folder_already_open, folder_not_found, illegal_byte_sequence_for_charset, illegal_operation, illegal_state, invalid_argument, invalid_folder_name, invalid_property_type, invalid_response, malformed_url, message_not_found, net_exception, no_auth_information, no_digest_algorithm_available, no_encoder_available, no_expeditor, no_factory_available, no_platform_handler, no_recipient, no_such_field, no_such_mechanism, no_such_message_id, no_such_part, no_such_property, not_a_directory, not_connected, open_file_error, operation_cancelled, operation_not_supported, operation_timed_out, partial_fetch_not_supported, sasl_exception, socket_exception, socket_not_connected_exception, system_error, tls_exception, unfetched_object, unsupported_option, SMTPCommandError, SMTPMessageSizeExceedsCurLimitsException, and SMTPMessageSizeExceedsMaxLimitsException.
| const exception * other | ( | ) | const | |||
| throw | ( | ) | ||||
Return the next exception in the chain, that is the exception that caused this exception.
This permits nesting exceptions.
Referenced by already_connected::already_connected(), authentication_error::authentication_error(), authentication_exception::authentication_exception(), bad_field_value_type::bad_field_value_type(), chainException(), charset_conv_error::charset_conv_error(), command_error::command_error(), connection_error::connection_error(), connection_greeting_error::connection_greeting_error(), exception(), file_not_found::file_not_found(), filesystem_exception::filesystem_exception(), folder_already_open::folder_already_open(), folder_not_found::folder_not_found(), illegal_byte_sequence_for_charset::illegal_byte_sequence_for_charset(), illegal_operation::illegal_operation(), illegal_state::illegal_state(), invalid_argument::invalid_argument(), invalid_folder_name::invalid_folder_name(), invalid_property_type::invalid_property_type(), invalid_response::invalid_response(), malformed_url::malformed_url(), message_not_found::message_not_found(), net_exception::net_exception(), no_auth_information::no_auth_information(), no_digest_algorithm_available::no_digest_algorithm_available(), no_encoder_available::no_encoder_available(), no_expeditor::no_expeditor(), no_factory_available::no_factory_available(), no_platform_handler::no_platform_handler(), no_recipient::no_recipient(), no_such_field::no_such_field(), no_such_mechanism::no_such_mechanism(), no_such_message_id::no_such_message_id(), no_such_part::no_such_part(), no_such_property::no_such_property(), not_a_directory::not_a_directory(), not_connected::not_connected(), open_file_error::open_file_error(), operation_cancelled::operation_cancelled(), operation_not_supported::operation_not_supported(), operation_timed_out::operation_timed_out(), partial_fetch_not_supported::partial_fetch_not_supported(), sasl_exception::sasl_exception(), SMTPCommandError::SMTPCommandError(), SMTPCommandError::SMTPCommandError(), SMTPMessageSizeExceedsCurLimitsException::SMTPMessageSizeExceedsCurLimitsException(), SMTPMessageSizeExceedsMaxLimitsException::SMTPMessageSizeExceedsMaxLimitsException(), socket_exception::socket_exception(), socket_not_connected_exception::socket_not_connected_exception(), system_error::system_error(), tls_exception::tls_exception(), unfetched_object::unfetched_object(), and unsupported_option::unsupported_option().
|
staticprotected |
Referenced by exception().