Permit SessionFactory.createSession to throw an IOException.