/** * Use this exception when you fail to load a relationship with success. * * @param string $relationshipLink * Relationship link name. * @param string $id * SugarBean id. * @param string $objectName * SugarBean object name. */ public function __construct($relationshipLink, $id, $objectName) { parent::__construct(array($relationshipLink, $id, $objectName)); }
/** * Use this exception when you find a relationship with a number of * records different than the ones expected. * * @param string $relationshipLink * Relationship link name. * @param int $relationsCount * Number of related objects found. * @param array $relationIds * An array of related objects id's. */ public function __construct($relationshipLink, $relationsCount, array $relationIds) { parent::__construct(array($relationshipLink, $relationsCount, $relationIds)); }