private Exception CreateNoSuitableGraphicsDeviceException(string message, Exception innerException) { Exception exception = new NoSuitableGraphicsDeviceException(message, innerException); exception.Data.Add("MinimumPixelShaderProfile", this.minimumPixelShaderProfile); exception.Data.Add("MinimumVertexShaderProfile", this.minimumVertexShaderProfile); return(exception); }
private Exception CreateNoSuitableGraphicsDeviceException(string message, Exception innerException) { Exception exception = new NoSuitableGraphicsDeviceException(message, innerException); exception.Data.Add("MinimumPixelShaderProfile", this.minimumPixelShaderProfile); exception.Data.Add("MinimumVertexShaderProfile", this.minimumVertexShaderProfile); return exception; }