Back to index

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

#include <Exception.h>

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

List of all members.

Public Member Functions

 InvalidIndexException (std::string name="")
virtual const char * what () const throw ()

Protected Attributes

std::string name_

Detailed Description

Definition at line 97 of file Exception.h.


Constructor & Destructor Documentation

nux::InvalidIndexException::InvalidIndexException ( std::string  name = "") [inline]

Definition at line 100 of file Exception.h.

      : Exception ("InvalidIndexException: " + name)
    {
    }

Member Function Documentation

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

Definition at line 54 of file Exception.h.

    {
      return name_.c_str();
    }

Member Data Documentation

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

Definition at line 60 of file Exception.h.


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