Use consistent exceptions in InstructionAdapter.

1 job for 317922-consistent-exceptions-in-instruction-adapter in 7 minutes and 13 seconds (queued for 6 seconds)