예제 #1
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Construct a Scripture utils exception. These are used for import errors.
 /// </summary>
 /// <param name="errorCode">numeric error code</param>
 /// <param name="fileName">file name where the error was encountered</param>
 /// <param name="lineNumber">line number in the file where the error occurred</param>
 /// <param name="lineContents">Contents of problematic line (or segment)</param>
 /// <param name="scrRef">scripture reference where the error occurred</param>
 /// <param name="fInterleavedImport"></param>
 /// ------------------------------------------------------------------------------------
 public ScriptureUtilsException(SUE_ErrorCode errorCode, string fileName, int lineNumber,
                                string lineContents, BCVRef scrRef, bool fInterleavedImport) :
     this(errorCode, fileName, lineNumber, lineContents, ScrReference.NumberToBookCode(scrRef.Book),
          scrRef.Chapter.ToString(), scrRef.Verse.ToString(), fInterleavedImport)
 {
 }