Fix access vioation when accessing data memebers of exception object.