Aspose.Sitefinity.FormBuilder.AsposeFormBuilder.ShowException C# (CSharp) Method

ShowException() private method

Generic Execption function which display message according to expection
private ShowException ( Exception exc ) : void
exc System.Exception
return void
        private void ShowException(Exception exc)
        {
            lbl_Msg.Visible = true;
            lbl_Msg.CssClass = "alertdanger";
            lbl_Msg.Text = exc.Message;
        }