operation = $operation; $this->key = $key; $this->value = $value; parent::__construct("Impossible to execute operation '$operation' on attribute '$key'".(!is_null($value)?" with value '$value'":"")); } public function getRelatedOperation(){ return $this->operation; } public function getRelatedKey(){ return $this->key; } public function getRelatedValue(){ return $this->value; } } ?>