Set exception code in flash params.

If someone is using FlashComponent::set() with exceptions they might appreciate getting the code too.