Added IOException generation