public ActivityExceptionDocument(ActivityException activityException)
        {
            ExecutionId = activityException.ExecutionId;
            ActivityName = activityException.Name;
            Timestamp = activityException.Timestamp;

            Host = new HostDocument(activityException.Host);

            if (activityException.ExceptionInfo != null)
                ExceptionInfo = new ExceptionInfoDocument(activityException.ExceptionInfo);
        }
        public ActivityExceptionDocument(ActivityException activityException)
        {
            ExecutionId  = activityException.ExecutionId;
            ActivityName = activityException.Name;
            Timestamp    = activityException.Timestamp;

            Host = new HostDocument(activityException.Host);

            if (activityException.ExceptionInfo != null)
            {
                ExceptionInfo = new ExceptionInfoDocument(activityException.ExceptionInfo);
            }
        }