'Raise an exception if the input fails to parse correctly.
Overriding the default, which normally just prints a message to
stderr.
Arguments:
msg: the error message
Raises:
ExpressionException: always.'

def emitErrorMessage(self, msg):

    raise ExpressionException(msg)
