Microsoft.WindowsAzure.CAT.ServiceBusExplorer.ListenerControl.HandleException C# (CSharp) Method

HandleException() private method

private HandleException ( Exception ex ) : void
ex System.Exception
return void
        private void HandleException(Exception ex)
        {
            if (ex == null || string.IsNullOrWhiteSpace(ex.Message))
            {
                return;
            }
            writeToLog(string.Format(CultureInfo.CurrentCulture, ExceptionFormat, ex.Message));
            if (ex.InnerException != null && !string.IsNullOrWhiteSpace(ex.InnerException.Message))
            {
                writeToLog(string.Format(CultureInfo.CurrentCulture, InnerExceptionFormat, ex.InnerException.Message));
            }
        }
ListenerControl