/// <summary>
 /// Initializes a new instance of the <see cref="CSF.Zpt.BatchRendering.BatchRenderingException"/> class.
 /// </summary>
 /// <param name="message">A <see cref="T:System.String"/> that describes the exception.</param>
 /// <param name="documentSource">Information about the source location of the document which caused this error.</param>
 /// <param name="error">A value indicating the nature of the document rendering error.</param>
 /// <param name="inner">The exception that is the cause of the current exception.</param>
 public BatchRenderingException(string message,
                            string documentSource,
                            BatchRenderingDocumentErrorType error,
                            Exception inner)
     : base(message, inner)
 {
     this.DocumentSource = documentSource;
       this.DocumentError = error;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CSF.Zpt.BatchRendering.BatchRenderingException"/> class.
 /// </summary>
 /// <param name="message">A <see cref="T:System.String"/> that describes the exception.</param>
 /// <param name="documentSource">Information about the source location of the document which caused this error.</param>
 /// <param name="error">A value indicating the nature of the document rendering error.</param>
 public BatchRenderingException(string message,
                            string documentSource,
                            BatchRenderingDocumentErrorType error)
     : this(message, documentSource, error, null)
 {
 }