/// <summary>
 /// Initializes a new instance of the <see cref="WcfExceptionDetail"/> class.
 /// </summary>
 /// <param name="exception">The exception.</param>
 public WcfExceptionDetail(Exception exception)
 {
     if (exception == null)
     {
         throw new ArgumentNullException("exception");
     }
     this._helpLink = exception.HelpLink;
     this._message = exception.Message;
     this._stackTrace = exception.StackTrace;
     this._type = exception.GetType().ToString();
     if (exception.InnerException != null)
     {
         this._innerException = new WcfExceptionDetail(exception.InnerException);
     }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="WcfExceptionDetail"/> class.
 /// </summary>
 /// <param name="exception">The exception.</param>
 public WcfExceptionDetail(Exception exception)
 {
     if (exception == null)
     {
         throw new ArgumentNullException("exception");
     }
     this._helpLink   = exception.HelpLink;
     this._message    = exception.Message;
     this._stackTrace = exception.StackTrace;
     this._type       = exception.GetType().ToString();
     if (exception.InnerException != null)
     {
         this._innerException = new WcfExceptionDetail(exception.InnerException);
     }
 }