VMime
illegal_state Class Reference

#include <exception.hpp>

Inheritance diagram for illegal_state:
Collaboration diagram for illegal_state:

Public Member Functions

 illegal_state (const string &state, const exception &other=NO_EXCEPTION)
 ~illegal_state () throw ()
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

The current state of the object does not permit to execute the operation (for example, you try to close a folder which is not open).

Constructor & Destructor Documentation

◆ illegal_state()

illegal_state ( const string & state,
const exception & other = NO_EXCEPTION )

◆ ~illegal_state()

~illegal_state ( )
throw ( )

Member Function Documentation

◆ clone()

exception * clone ( ) const
virtual

Clone this object.

Returns
a new copy of this object

Reimplemented from exception.

References illegal_state().

◆ name()

const char * name ( ) const
throw ( )
virtual

Return a name identifying the exception.

Returns
exception name

Reimplemented from exception.


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