I don't see this exception used anywhere, is the import necessary?