Fixed namespacing issue when throwing new exceptions.