ParseException
class ParseException {
ParseException(const char* message, int32 position)
ParseException(const ParseException& other)
} catch (ParseException& exception) {
} catch (ParseException& exception) {
throw ParseException("Malformed base64!");
throw ParseException("Base64 encoding ends early!");
throw ParseException("Malformed base64!");
throw ParseException("Malformed base64!");
ParseException::ParseException()
ParseException::ParseException(const char* format, ...)
throw ParseException("Unexpected response begin");
throw ParseException("Unexpected end of qouted string!");
throw ParseException("Not enough memory for literal of %"
throw ParseException("Unexpected end of string");
throw ParseException("Invalid number!");
ParseException();
ParseException(const char* format, ...);
class ExpectedParseException : public ParseException {
class ParseException : public std::exception {
} catch (ParseException& e) {
} catch (ParseException& e) {
throw ParseException("Cannot perform mathematical operations "
throw ParseException("Cannot perform mathematical operations "
throw ParseException(errorMessage.String(), 0);
throw ParseException(error.String(), 0);
throw ParseException(error.String(), 0);
throw ParseException("parse error", token.position);
throw ParseException("division by zero", token.position);
throw ParseException("modulo by zero", token.position);
throw ParseException("unexpected end of expression", token.position);
throw ParseException(errorMessage.String(), token.position);
throw ParseException(errorMessage, token.position);
throw ParseException("Expected identifier after member "
throw ParseException("Unexpected end of expression", token.position);
throw ParseException("Expected value or variable expression after"
throw ParseException("Unable to create value node for typecast"
throw ParseException(temp.String(), token.position);
throw ParseException(errorMessage, token.position);
throw ParseException("Cannot specify type name as array"
throw ParseException("Non-zero array size required in type"
throw ParseException(errorMessage, token.position);
throw ParseException(errorMessage, token.position);
throw ParseException(errorMessage, token.position);
throw ParseException(errorMessage, token.position);
throw ParseException("Out of memory while creating type object.",
throw ParseException("Out of memory while creating location object.",
throw ParseException("Out of memory populating location"
throw ParseException("Failed to generate internal variable name.",
throw ParseException("Out of memory while creating ID object.",
throw ParseException("Out of memory while creating variable object.",
throw ParseException("Out of memory while creating node child object.",
using CLanguage::ParseException;
} catch (ParseException& ex) {
throw ParseException("unexpected character", _CurrentPos());
throw ParseException("error in constant", _CurrentPos() - length);
using CLanguage::ParseException;
throw ParseException("unexpected character",
throw ParseException("expected hex digit", _CurrentPos());
class ParseException {
ParseException(const char* message, int32 position)
ParseException(const ParseException& other)
throw ParseException("missing exponent in constant",
throw ParseException("error in constant",
throw ParseException("unexpected character", _CurrentPos());
throw ParseException("expected hex digit", _CurrentPos());
throw ParseException("parse error", token.position);
throw ParseException("out of memory", 0);
throw ParseException("parse error", token.position);
throw ParseException("parse error", token.position);
throw ParseException("division by zero", token.position);
throw ParseException("modulo by zero", token.position);
throw ParseException("unexpected end of expression", token.position);
throw ParseException("out of domain", token.position);
throw ParseException("out of domain", token.position);
throw ParseException("out of domain", token.position);
throw ParseException("out of domain", token.position);
throw ParseException("out of domain", token.position);
throw ParseException("out of domain", token.position);
throw ParseException("unknown identifier", token.position);
throw ParseException("unexpected end of expression", token.position);
throw ParseException(temp.String(), token.position);
throw ParseException(string("Unexpected token `") + token
throw ParseException("Error while parsing function "
throw ParseException("Error while parsing function parameter.");
throw ParseException("Error parsing function parameter. "
throw ParseException("Error while parsing function parameter. "
struct ParseException : public Exception {
ParseException() {}
ParseException(const string &message) : Exception(message) {}
virtual ~ParseException() throw() {}