#include <exception.h>
Public Member Functions | |
Exception (std::string error) | |
Exception (const char *format,...) | |
~Exception () | |
std::string | getError () |
Protected Attributes | |
std::string | m_error |
Definition at line 9 of file exception.h.
Exception::Exception | ( | std::string | error | ) | [inline] |
Definition at line 16 of file exception.h.
00016 {m_error = error;}
Exception::Exception | ( | const char * | format, | |
... | ||||
) |
Definition at line 6 of file exception.cpp.
00007 { 00008 char str[2000]; 00009 va_list vl; 00010 va_start(vl,format); 00011 vsprintf(str,format,vl); 00012 va_end(vl); 00013 m_error = str; 00014 00015 if (ptrace(PTRACE_TRACEME, 0, 1, 0) < 0) { 00016 abort(); 00017 } 00018 00019 }
Exception::~Exception | ( | ) | [inline] |
Definition at line 18 of file exception.h.
std::string Exception::getError | ( | ) | [inline] |
Definition at line 19 of file exception.h.
00019 {return m_error;}
std::string Exception::m_error [protected] |
Definition at line 14 of file exception.h.