Update exception class namespaces.