Esempio n. 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);
        }
Esempio n. 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);
            }
        }