#include <LuaException.h>
|
template<class Exception > |
static void | Throw (Exception e) |
|
static void | pcall (lua_State *L, int nargs=0, int nresults=0, int msgh=0) |
|
Definition at line 30 of file LuaException.h.
◆ LuaException() [1/2]
LuaException::LuaException |
( |
lua_State * |
L, |
|
|
int |
|
|
) |
| |
|
inline |
◆ LuaException() [2/2]
LuaException::LuaException |
( |
lua_State * |
L, |
|
|
char const * |
, |
|
|
char const * |
, |
|
|
long |
|
|
) |
| |
|
inline |
◆ ~LuaException()
LuaException::~LuaException |
( |
| ) |
|
throw | ( | |
| ) | | |
|
inline |
◆ pcall()
static void LuaException::pcall |
( |
lua_State * |
L, |
|
|
int |
nargs = 0 , |
|
|
int |
nresults = 0 , |
|
|
int |
msgh = 0 |
|
) |
| |
|
inlinestatic |
Wrapper for lua_pcall that throws.
Definition at line 89 of file LuaException.h.
◆ Throw()
template<class Exception >
static void LuaException::Throw |
( |
Exception |
e | ) |
|
|
inlinestatic |
Throw an exception.
This centralizes all the exceptions thrown, so that we can set breakpoints before the stack is unwound, or otherwise customize the behavior.
Definition at line 80 of file LuaException.h.
◆ what()
char const* LuaException::what |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inline |
◆ whatFromStack()
void LuaException::whatFromStack |
( |
| ) |
|
|
inlineprotected |
◆ m_L
◆ m_what
std::string LuaException::m_what |
|
private |
The documentation for this class was generated from the following file: