|
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.
References vmime::clone().
|
virtual | |||||||||||||
Chain the specified exception with this exception.
| other | next exception in the chain |
References exception::clone(), vmime::dynamicCast(), and exception::other().
|
virtual |
Clone this object.
Reimplemented in bad_field_value_type, charset_conv_error, illegal_byte_sequence_for_charset, no_encoder_available, no_digest_algorithm_available, no_such_field, no_such_part, no_such_message_id, open_file_error, no_factory_available, no_platform_handler, no_expeditor, no_recipient, no_such_property, invalid_property_type, invalid_argument, system_error, malformed_url, net_exception, socket_exception, socket_not_connected_exception, connection_error, connection_greeting_error, authentication_error, unsupported_option, illegal_state, folder_not_found, folder_already_open, message_not_found, operation_not_supported, operation_timed_out, operation_cancelled, unfetched_object, not_connected, already_connected, illegal_operation, command_error, invalid_response, partial_fetch_not_supported, invalid_folder_name, filesystem_exception, not_a_directory, file_not_found, authentication_exception, no_auth_information, sasl_exception, no_such_mechanism, tls_exception, SMTPCommandError, SMTPMessageSizeExceedsMaxLimitsException, SMTPMessageSizeExceedsCurLimitsException, certificateException, certificateExpiredException, certificateIssuerVerificationException, certificateNotTrustedException, certificateNotYetValidException, serverIdentityException, and unsupportedCertificateTypeException.
Referenced by exception::chainException().
Return a name identifying the exception.
Reimplemented in bad_field_value_type, charset_conv_error, illegal_byte_sequence_for_charset, no_encoder_available, no_digest_algorithm_available, no_such_field, no_such_part, no_such_message_id, open_file_error, no_factory_available, no_platform_handler, no_expeditor, no_recipient, no_such_property, invalid_property_type, invalid_argument, system_error, malformed_url, net_exception, socket_exception, socket_not_connected_exception, connection_error, connection_greeting_error, authentication_error, unsupported_option, illegal_state, folder_not_found, folder_already_open, message_not_found, operation_not_supported, operation_timed_out, operation_cancelled, unfetched_object, not_connected, already_connected, illegal_operation, command_error, invalid_response, partial_fetch_not_supported, invalid_folder_name, filesystem_exception, not_a_directory, file_not_found, authentication_exception, no_auth_information, sasl_exception, no_such_mechanism, tls_exception, SMTPCommandError, SMTPMessageSizeExceedsMaxLimitsException, and SMTPMessageSizeExceedsCurLimitsException.
Return the next exception in the chain, that is the exception that caused this exception.
This permits nesting exceptions.
Referenced by exception::chainException().