def register(self):
        """ put docstring here """
        # autogenerated fields
        __model__ = self.__model__[0].lower() + self.__model__[1:]
        errors = xml_models.Collection(Error, order_by="error_type", xpath=__model__ % "/%sResponse/errors/error")
        
        def validate_on_load(cls):
            for e in cls.errors:
                exception = classobj(str(e.error_type), (Exception,), {})
                raise exception, e.error_message

        # autogenerated class
        cls = classobj('GETResponse', (xml_models.Model,), {
            'errors': errors,
            'validate_on_load': validate_on_load,
            })
        #print self.xml
        return cls(xml=self.xml, dom=self.dom)
dataset/ETHPy150Open adlibre/Adlibre-TMS/adlibre_tms/apps/saasu_client/models/base.py/GETResponseBase.register/swapped operands of `%`