def __init__(self, errorCode, messages, args):
        # By defining __str__, args will be available.  Otherwise
        # the __init__ of Exception sets it to the passed in arguments.
        self.params = args
        self.errorCode = errorCode
        self.message = args % messages[errorCode]
        Exception.__init__(self, self.message, args)
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/xml/FtCore.py/FtException.__init__/swapped operands of `%`