fixed:throw exception if not found 'class'