def tmp(): raise PdbxSyntaxError(10, 'This is the error text')
def __syntaxError(self, errText): raise PdbxSyntaxError(self.__curLineNumber, errText)