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
4 months agoMendy
4 months agoJosefa
4 months agoRosina
4 months agoGussie
4 months agoAnnabelle
4 months agoTamra
4 months agoVanesa
4 months agoErick
5 months agoMalika
4 months agoRutha
4 months agoDomonique
4 months agoDomonique
4 months ago