throw exceptions is db class annotation sets are empty