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