code: function displayErrorOnStatus(error) {
  			var display = {};
  			display.Severity = "Error"; //$NON-NLS-0$
  			display.HTML = false;
  			
  			try {
  				var resp = JSON.parse(error.responseText);
  				display.Message = resp.DetailedMessage ? resp.DetailedMessage : 
  					(resp.Message ? resp.Message : messages["Problem while performing the action"]);
  			} catch (Exception) {
  				display.Message = messages["Problem while performing the action"];
  			}
  			
  			serviceRegistry.getService("orion.page.message").setProgressResult(display); //$NON-NLS-0$
  		}
docs: make warning go away