Mapping/MappingException.php
public static function requiredMapping($itemClass, $attributeName, $ownerName = null)
	{
		return new self('The mapping attribute "' . $attributeName . '"'
				. (isset($ownerName) ? ' of "' . $ownerName . '"' : '')
				. ' is required in "' . $itemClass . '".'
		);
	}
public static function requiredMapping($itemClass, $attributeName, $ownerName = null)
	{
		return new self('The mapping attribute "' . $attributeName . '"'
				. (isset($ownerName) ? ' of "' . $ownerName . '"' : '')
				. ' is required in "' . $itemClass . '".'
		);
	}
public static function requiredMapping ( $ itemClass , $ attributeName , $ ownerName = null ) { return new self ( 'The mapping attribute "' . $ attributeName . '"' . ( isset ( $ ownerName ) ? ' of "' . $ ownerName . '"' : '' ) . ' is required in "' . $ itemClass . '".' ) ; }
Return MappingException with required mapping message

@param string $itemClass
@param string $attributeName
@param string $ownerName
@return MappingException
Return MappingException with required mapping message