illegal_state Class Reference
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 ()
exceptionclone () 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 ()
- 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 exceptionother () const throw ()

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 ( const string state,
const exception other = NO_EXCEPTION 

Referenced by illegal_state::clone().

~illegal_state ( )
throw (

Member Function Documentation

exception * clone ( ) const

Clone this object.

a new copy of this object

Reimplemented from net_exception.

References illegal_state::illegal_state().

const char * name ( ) const
throw (

Return a name identifying the exception.

exception name

Reimplemented from net_exception.

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