Phresco.FusionCharts.ChartFromList.HandleException C# (CSharp) Method

HandleException() private method

Clear all child controls and add an error message for display.
private HandleException ( Exception ex ) : void
ex System.Exception
return void
        private void HandleException(Exception ex)
        {
            this._error = true;
            this.Controls.Clear();
            this.Controls.Add(new LiteralControl("ERROR: " + ex.Message));
        }