-
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathCorpusAlignmentException.cs
More file actions
19 lines (17 loc) · 841 Bytes
/
CorpusAlignmentException.cs
File metadata and controls
19 lines (17 loc) · 841 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;
namespace SIL.Machine.Corpora
{
public class CorpusAlignmentException : Exception
{
public CorpusAlignmentException(string sourceRef, string targetRef, Exception innerException = null)
: base(
$"Invalid format in {sourceRef} and {targetRef}. Mismatched key formats \"{sourceRef}\" and \"{targetRef}\". There may be an extraneous tab, missing ref, or inconsistent use of user-defined refs.",
innerException
) { }
public CorpusAlignmentException(string[] refs, Exception innerException = null)
: base(
$"Invalid format in {string.Join(", ", refs)}. Mismatched key formats. There may be an extraneous tab, missing ref, or inconsistent use of user-defined refs.",
innerException
) { }
}
}