Simplified _throw_unknown_expectation() parameters.