affected_field_name = $affected_field_name; } /** * Returns the name of the profile field that caused the exception. * @return string */ public function getAffectedFieldName() { return $this->affected_field_name; } }