VAGSuite.ctrlReleaseNotes.GetExceptionType C# (CSharp) 메소드

GetExceptionType() 공개 정적인 메소드

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