src/sap.ui.core/src/sap/ui/model/odata/_AnnotationHelperBasics.js
function (oPathValue, sMessage, sComponent) {
			sMessage = oPathValue.path + ": " + sMessage;
			Log.error(sMessage, Basics.toErrorString(oPathValue.value),
				sComponent || sAnnotationHelper);
			throw new SyntaxError(sMessage);
		}
function (oPathValue, sMessage, sComponent) {
			sMessage = oPathValue.path + ": " + sMessage;
			Log.error(sMessage, Basics.toErrorString(oPathValue.value),
				sComponent || sAnnotationHelper);
			throw new SyntaxError(sMessage);
		}
function ( oPathValue , sMessage , sComponent ) { sMessage = oPathValue . path + ": " + sMessage ; Log . error ( sMessage , Basics . toErrorString ( oPathValue . value ) , sComponent || sAnnotationHelper ) ; throw new SyntaxError ( sMessage ) ; }
Logs the error message for the given path and throws a SyntaxError.
@param {object} oPathValue
a path/value pair
@param {string} sMessage
the message to log
@param {string} [sComponent="sap.ui.model.odata.AnnotationHelper"]
Name of the component that produced the log entry
Logs the error message for the given path and throws a SyntaxError .