Reorganising exceptions to clarify the different purposes.