command_error Class Reference

Command error: operation failed (this is specific to the underlying protocol). More...

Inheritance diagram for command_error:
Inheritance graph
[legend]
Collaboration diagram for command_error:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 command_error (const string &command, const string &response, const string &desc="", const exception &other=NO_EXCEPTION)
 ~command_error () throw ()
const stringcommand () const
const stringresponse () const
exceptionclone () const
const char * name () const throw ()

Detailed Description

Command error: operation failed (this is specific to the underlying protocol).


Constructor & Destructor Documentation

command_error ( const string command,
const string response,
const string desc = "",
const exception other = NO_EXCEPTION 
)

Referenced by command_error::clone().

~command_error (  )  throw ()

Member Function Documentation

exception * clone (  )  const [virtual]

Clone this object.

Returns:
a new copy of this object

Reimplemented from net_exception.

References command_error::command_error().

const string & command (  )  const

Return the name of the command which have thrown the exception.

This is protocol-dependent.

Returns:
command name (protocol-dependent)
const char * name (  )  const throw () [virtual]

Return a name identifying the exception.

Returns:
exception name

Reimplemented from net_exception.

const string & response (  )  const

Return the invalid response line.

The meaning is protocol-dependent.

Returns:
response line (protocol-dependent)

Referenced by POP3Message::extract().


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

Generated by  doxygen 1.6.2