ROLAND
0.70
Amstrad Emulator based on Caprice Source rewritten in C++.
|
Handles all Exceptions. More...
#include <exception.h>
Public Member Functions | |
Exception (const char *details=0, const char *file=0, int line=0) | |
Exception (const char *message, const char *details=0, const char *file=0, int line=0, bool eno=false) | |
Exception (const char *section, const char *message, const char *details=0, const char *file=0, int line=0) | |
Exception (const char *section, const char *message, GLenum glerr, const char *file=0, int line=0) | |
virtual | ~Exception () |
void | init (bool eno, const char *details, const char *file, int line) |
int | getLine () const |
const char * | getFile () const |
const char * | getMessage () const |
const char * | getDetails () const |
virtual void | printError () |
Protected Attributes | |
int | mError |
int | mLine |
String | mSection |
String | mMsg |
String | mFile |
String | mDetails |
GLenum | mGLErr |
Private Member Functions | |
void | init (bool eno, const char *message, const char *details, const char *file, int line) |
Handles all Exceptions.
All Exceptions are collected in this class. exception.h contains the SDLGUIERROR Macro:
This is a short for
Exception | ( | const char * | details = 0 , |
const char * | file = 0 , |
||
int | line = 0 |
||
) |
References Exception::init().
Exception | ( | const char * | message, |
const char * | details = 0 , |
||
const char * | file = 0 , |
||
int | line = 0 , |
||
bool | eno = false |
||
) |
References Exception::init(), and Exception::mMsg.
Exception | ( | const char * | section, |
const char * | message, | ||
const char * | details = 0 , |
||
const char * | file = 0 , |
||
int | line = 0 |
||
) |
References Exception::init(), Exception::mMsg, and Exception::mSection.
Exception | ( | const char * | section, |
const char * | message, | ||
GLenum | glerr, | ||
const char * | file = 0 , |
||
int | line = 0 |
||
) |
References Exception::init(), Exception::mGLErr, Exception::mMsg, and Exception::mSection.
|
inlinevirtual |
References Exception::init().
|
inline |
References Exception::mDetails, and Exception::printError().
|
inline |
References Exception::mFile.
|
inline |
References Exception::mLine.
|
inline |
References Exception::mMsg.
void init | ( | bool | eno, |
const char * | details, | ||
const char * | file, | ||
int | line | ||
) |
References Exception::mDetails, Exception::mFile, Exception::mLine, and Exception::printError().
Referenced by Exception::Exception(), and Exception::~Exception().
|
private |
|
virtual |
References Exception::mDetails, Exception::mFile, Exception::mLine, Exception::mMsg, and Exception::mSection.
Referenced by Exception::getDetails(), and Exception::init().
|
protected |
Referenced by Exception::getDetails(), Exception::init(), and Exception::printError().
|
protected |
|
protected |
Referenced by Exception::getFile(), Exception::init(), and Exception::printError().
|
protected |
Referenced by Exception::Exception(), and ExcGL::getEnum().
|
protected |
Referenced by Exception::getLine(), Exception::init(), and Exception::printError().
|
protected |
Referenced by Exception::Exception(), Exception::getMessage(), and Exception::printError().
|
protected |
Referenced by Exception::Exception(), and Exception::printError().