示例#1
0
        public CivException(Exception exception)
        {
            ExceptionType = exception.GetType().ToString();
            Message = exception.Message;
            StackTrace = exception.StackTrace;

            if (exception.InnerException != null)
                InnerException = new CivException(exception.InnerException);
        }
示例#2
0
        public CivException(Exception exception)
        {
            ExceptionType = exception.GetType().ToString();
            Message       = exception.Message;
            StackTrace    = exception.StackTrace;

            if (exception.InnerException != null)
            {
                InnerException = new CivException(exception.InnerException);
            }
        }