updated exception codes