'Validate the configuration.
Raise a ValueError if the configuration is invalid.'

def check_validate(self):

    ok = self.validate()
    if (not ok):
        msg = 'Configuration    seems    invalid.\n        *    {errors}'.format(errors='\n        *    '.join(self.__errors))
        raise ValueError(msg)
