VRUT::ScriptException Class Reference

The script exception class. More...

#include <scriptexception.h>

Inheritance diagram for VRUT::ScriptException:

VRUT::NodeScriptException VRUT::SceneScriptException

List of all members.

Public Member Functions

 ScriptException (const char *desc="<no description>")
 ScriptException (std::string &desc)
virtual ~ScriptException () throw ()
const char * what () const throw ()

Private Attributes

std::string description


Detailed Description

The script exception class.

Definition at line 21 of file scriptexception.h.


Constructor & Destructor Documentation

VRUT::ScriptException::ScriptException ( const char *  desc = "<no description>"  )  [inline]

Definition at line 26 of file scriptexception.h.

00027                      : std::exception(), description(desc) {}

VRUT::ScriptException::ScriptException ( std::string &  desc  )  [inline]

Definition at line 28 of file scriptexception.h.

00029                      : std::exception(), description(desc) {}

virtual VRUT::ScriptException::~ScriptException (  )  throw () [inline, virtual]

Definition at line 30 of file scriptexception.h.

00030 {}


Member Function Documentation

const char* VRUT::ScriptException::what (  )  const throw () [inline]

Definition at line 31 of file scriptexception.h.

00032               {
00033                      return description.c_str();
00034               }


Member Data Documentation

std::string VRUT::ScriptException::description [private]

Definition at line 24 of file scriptexception.h.


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

Generated on Tue Mar 10 14:41:49 2009 for VRUT by  doxygen 1.5.5