VMime
authentication_error Class Reference

#include <exception.hpp>

Inheritance diagram for authentication_error:
Collaboration diagram for authentication_error:

Public Member Functions

 authentication_error (const string &response, const exception &other=NO_EXCEPTION)
 ~authentication_error () throw ()
const stringresponse () const
exception * clone () const
const char * name () const throw ()
Public Member Functions inherited from net_exception
 net_exception (const string &what, const exception &other=NO_EXCEPTION)
 ~net_exception () throw ()
exception * clone () const
const char * name () const throw ()
Public Member Functions inherited from exception
 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 ()

Additional Inherited Members

Static Protected Attributes inherited from exception
static const exception NO_EXCEPTION

Detailed Description

Error while giving credentials to the server (wrong username or password, or wrong authentication method).

Constructor & Destructor Documentation

◆ authentication_error()

authentication_error ( const string & response,
const exception & other = NO_EXCEPTION )

◆ ~authentication_error()

~authentication_error ( )
throw ( )

Member Function Documentation

◆ clone()

exception * clone ( ) const
virtual

Clone this object.

Returns
a new copy of this object

Reimplemented from exception.

References authentication_error().

◆ name()

const char * name ( ) const
throw ( )
virtual

Return a name identifying the exception.

Returns
exception name

Reimplemented from exception.

◆ response()

const string & response ( ) const

Referenced by authentication_error().


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