add exception code definition