Reviewed-by: kvn, tschatzl, ctornqvi
Do not update exception cache if exception is replaced when thrown Reviewed-by: kvn, iveresov