81fe9fc640
Update all exception classes so that they are fully immutable and cannot be changed once they have been thrown. Issue gh-8945