Fixes IDEA-320698 False positive error highlighting of an expression with an union type in a throw statement GitOrigin-RevId: 7120053a75edbcb8717657b9791d1a310a581c32