Adding Error Check for f_code Parameters am: 71d734b83d am: 8f96b20588
am: 3ac0af344a

Change-Id: I8940f86098f94fd2c5c3dfcf35be07b0c43b4fa3