slightly improved OpenEntityException error reporting