Two new exceptions and a close method