ENG-4667: Don't turn Errors into RuntimeExceptions.

Allows OOM conditions in this one code path to crash the server directly rather than leading to a mysterious hash mismatch later.