Exclusion of evidence to contradict answers to questions testing veracity
155.  When a witness has been asked and has answered any question which is relevant to the inquiry only in so far as it tends to shake his credit by injuring his character, no evidence shall be given to contradict him; but if he answers falsely he may afterwards be charged with giving false evidence.
     Exception 1.—If a witness is asked whether he has been previously convicted of any crime and denies it, evidence may be given of his previous conviction.
     Exception 2.—If a witness is asked any question tending to impeach his impartiality and answers it by denying the facts suggested, he may be contradicted.
Illustrations
     (a)  A claim against an underwriter is resisted on the ground of fraud.
     The claimant is asked whether in a former transaction he had not made a fraudulent claim. He denies it.
     Evidence is offered to show that he did make such a claim.
     The evidence is inadmissible.
     (b)  A witness is asked whether he was not dismissed from a situation for dishonesty. He denies it.
     Evidence is offered to show that he was dismissed for dishonesty.
     The evidence is not admissible.
     (c)  A affirms that on a certain day he saw B at Malacca.
     A is asked whether he himself was not on that day at Penang. He denies it.
     Evidence is offered to show that A was on that day at Penang.
     The evidence is admissible, not as contradicting A on a fact which affects his credit, but as contradicting the alleged fact that B was seen on the day in question in Malacca.
     (d)  A is tried for a rape on B. B is asked in cross-examination whether she has not had illicit intercourse with C and D. She denies it.
     Evidence is offered to show that she has had such intercourse with C and D. The evidence is not admissible.
     In each of the cases in illustrations (c) and (d), the witness might, if the denial was false, be charged with giving false evidence.
     (e)  A is asked whether he has not said that he would be revenged on B, against whom he gives evidence. He denies it.
     He may be contradicted on the ground that the question tends to impeach his impartiality.