VMime
system_error Class Reference

#include <exception.hpp>

Inheritance diagram for system_error:
Collaboration diagram for system_error:

Public Member Functions

 system_error (const string &what, const exception &other=NO_EXCEPTION)
 ~system_error () 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

Underlying operating system error.

Constructor & Destructor Documentation

◆ system_error()

system_error ( const string & what,
const exception & other = NO_EXCEPTION )

References exception::other().

Referenced by clone().

◆ ~system_error()

~system_error ( )
throw ( )

Member Function Documentation

◆ clone()

exception * clone ( ) const
virtual

Clone this object.

Returns
a new copy of this object

Reimplemented from exception.

References system_error().

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