VMime
illegal_operation Class Reference

#include <exception.hpp>

Inheritance diagram for illegal_operation:
Collaboration diagram for illegal_operation:

Public Member Functions

 illegal_operation (const string &msg="", const exception &other=NO_EXCEPTION)
 ~illegal_operation () 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

Illegal operation: cannot run this operation on the object.

Constructor & Destructor Documentation

◆ illegal_operation()

illegal_operation ( const string & msg = "",
const exception & other = NO_EXCEPTION )

◆ ~illegal_operation()

~illegal_operation ( )
throw ( )

Member Function Documentation

◆ clone()

exception * clone ( ) const
virtual

Clone this object.

Returns
a new copy of this object

Reimplemented from exception.

References illegal_operation().

◆ 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: