Implemented exceptions.