private void ShowExceptionForm(ShaderException e, string resourceName) { var name = contentManager.GetFilePath(resourceName); name = string.IsNullOrEmpty(name) ? resourceName : name; new FormShaderExceptionFacade().ShowModal(e, name); }