Back to index

nux  3.0.0
Public Member Functions | Protected Attributes
nux::Exception Class Reference

#include <Exception.h>

Inheritance diagram for nux::Exception:
Inheritance graph
[legend]
Collaboration diagram for nux::Exception:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Exception (std::string name) throw ()
virtual ~Exception () throw ()
virtual const char * what () const throw ()

Protected Attributes

std::string name_

Detailed Description

Definition at line 44 of file Exception.h.


Constructor & Destructor Documentation

nux::Exception::Exception ( std::string  name) throw () [inline]

Definition at line 47 of file Exception.h.

      : std::exception (), name_ (name)
    {
    }
virtual nux::Exception::~Exception ( ) throw () [inline, virtual]

Definition at line 52 of file Exception.h.

{}

Member Function Documentation

virtual const char* nux::Exception::what ( ) const throw () [inline, virtual]

Definition at line 54 of file Exception.h.

    {
      return name_.c_str();
    }

Member Data Documentation

std::string nux::Exception::name_ [protected]

Definition at line 60 of file Exception.h.


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