[FIX] orm: change exception type to avoid problem when recomputing fields