cpp/error/nested exception/operator=

Replaces the stored exception with the one held in.