code: function (sName, sType) {
  
  				if (!sName) {
  					var sMessage = "A name for the " + sType.toLowerCase() + " has to be defined";
  					Log.error(sMessage, this);
  					throw Error(sMessage);
  				}
  
  			}
docs: 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