Fixed Excpetion class name.
Implemented createConditionsFromKeys method to RelationShip.