resource = $resource; $this->property = $property; parent::__construct('Property ( ' . $property->getUri() . ' ) of resource ' . ' ( ' . $resource->getUri() . ' ) has more than one value do not use getUniquePropertyValue but use getPropertyValue instead'); } /** * Returns the property that was empty * * @access public * @return core_kernel_classes_Property */ public function getProperty() { return $this->property; } /** * Returns the resource with the empty property * * @access public * @return core_kernel_classes_Resource */ public function getResource() { return $this->resource; } /** * Returns the severity of the exception * Used in the common/Logger * * @return number */ public function getSeverity() { return common_Logger::WARNING_LEVEL; } }