I'd go with B and D too. Throwing the exception is essential, and the message is a nice touch. Although, I have to admit, I'm more of a cat person than a parity person.
Hmm, I'd say B is the way to do it. Might as well give the exception a little flavor with a message, you know? C is just weird, who uses single quotes these days?
Carol
5 months agoMendy
5 months agoJosefa
5 months agoRosina
5 months agoGussie
5 months agoAnnabelle
5 months agoTamra
5 months agoVanesa
6 months agoErick
6 months agoMalika
5 months agoRutha
5 months agoDomonique
5 months agoDomonique
5 months ago