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