#include <stdexcept>
#include <string>
Go to the source code of this file.
#define DEFINE_EXCEPTION |
( |
|
NAME | ) |
|
Value:
public: \
}
This is the base of the Frobby exception hierarchy for exceptions that can occur due to expected erro...
Definition at line 63 of file error.h.
#define INTERNAL_ERROR |
( |
|
msg | ) |
|
Value:
throw; \
} while (false)
void reportInternalError(const string &errorMsg)
Definition at line 42 of file error.h.
#define INTERNAL_ERROR_UNIMPLEMENTED |
( |
| ) |
INTERNAL_ERROR("Called function that has not been implemented.") |
DEFINE_EXCEPTION |
( |
UnknownName |
| ) |
|
DEFINE_EXCEPTION |
( |
AmbiguousName |
| ) |
|
DEFINE_EXCEPTION |
( |
Unsupported |
| ) |
|
void reportError |
( |
const string & |
errorMsg | ) |
|
void reportInternalError |
( |
const string & |
errorMsg | ) |
|
void reportInternalError |
( |
const string & |
errorMsg, |
|
|
const char * |
file, |
|
|
unsigned int |
lineNumber |
|
) |
| |
void reportSyntaxError |
( |
const Scanner & |
scanner, |
|
|
const string & |
errorMsg |
|
) |
| |
template<class Exception >
void throwError |
( |
const string & |
errorMsg | ) |
|