Otclient  14/8/2020
LuaException Class Reference

#include <luaexception.h>

Inheritance diagram for LuaException:
Collaboration diagram for LuaException:

Public Member Functions

 LuaException (const std::string &error, int traceLevel=-1)
 
virtual ~LuaException () throw ()
 
void generateLuaErrorMessage (const std::string &error, int traceLevel)
 
virtual const char * what () const throw ()
 
- Public Member Functions inherited from stdext::exception
 exception ()
 
 exception (const std::string &what)
 
virtual ~exception () throw ()
 

Protected Member Functions

 LuaException ()
 

Protected Attributes

std::string m_what
 
- Protected Attributes inherited from stdext::exception
std::string m_what
 

Detailed Description

Definition at line 28 of file luaexception.h.

Constructor & Destructor Documentation

◆ LuaException() [1/2]

LuaException::LuaException ( const std::string &  error,
int  traceLevel = -1 
)

Definition at line 26 of file luaexception.cpp.

Here is the call graph for this function:

◆ ~LuaException()

virtual LuaException::~LuaException ( )
throw (
)
inlinevirtual

Definition at line 32 of file luaexception.h.

◆ LuaException() [2/2]

LuaException::LuaException ( )
inlineprotected

Definition at line 39 of file luaexception.h.

Member Function Documentation

◆ generateLuaErrorMessage()

void LuaException::generateLuaErrorMessage ( const std::string &  error,
int  traceLevel 
)

Definition at line 32 of file luaexception.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ what()

virtual const char* LuaException::what ( ) const
throw (
)
inlinevirtual

Reimplemented from stdext::exception.

Definition at line 36 of file luaexception.h.

Here is the caller graph for this function:

Member Data Documentation

◆ m_what

std::string LuaException::m_what
protected

Definition at line 41 of file luaexception.h.


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