VAGSuite.ctrlReleaseNotes.GetExceptionType C# (CSharp) Method

GetExceptionType() public static method

public static GetExceptionType ( Exception ex ) : string
ex System.Exception
return string
        public static string GetExceptionType(Exception ex)
        {
            string exceptionType = ex.GetType().ToString();
            return exceptionType.Substring(
                exceptionType.LastIndexOf('.') + 1);
        }