Correct unserialize behavior on Exception