throw exceptions in opcode handlers