Ripped out exception handling. Null is always valid and ignored. Never throw exceptions deliberately. Just validate and move on.