src/sap.ui.core/src/sap/ui/core/routing/TargetCache.js
function (sName, sType) {

				if (!sName) {
					var sMessage = "A name for the " + sType.toLowerCase() + " has to be defined";
					Log.error(sMessage, this);
					throw Error(sMessage);
				}

			}
function (sName, sType) {

				if (!sName) {
					var sMessage = "A name for the " + sType.toLowerCase() + " has to be defined";
					Log.error(sMessage, this);
					throw Error(sMessage);
				}

			}
function ( sName , sType ) { if ( ! sName ) { var sMessage = "A name for the " + sType . toLowerCase ( ) + " has to be defined" ; Log . error ( sMessage , this ) ; throw Error ( sMessage ) ; } }
hook for the deprecated property viewId on the route, will not prefix the id with the component

@name sap.ui.core.routing.TargetCache#_getViewWithGlobalId
@returns {*}
@private
 
@param {string} sName logs an error if it is empty or undefined
@param {string} sType whether it's a 'View' or 'Component'
@private
hook for the deprecated property viewId on the route will not prefix the id with the component