SIL.CoreImpl.SpellingHelper.GetExceptionFileName C# (CSharp) Method

GetExceptionFileName() public static method

The file name where we store exceptions is unfortunately the short-file-name version of the dictionary. We can't easily change this, so that is what we have to deal with any time we care about it.
public static GetExceptionFileName ( string dictFileName ) : string
dictFileName string
return string
		public static string GetExceptionFileName(string dictFileName)
		{
			// The order here is important. Since the exception file might not exist, we need to get the short name of
			// the dictionary itself, which hopefully does, and change its extension. Changing the extension first
			// will produce the name of a possibly non-existent file, for which we can't get a short name.
			return Path.ChangeExtension(GetShortName(dictFileName), ".exc");
		}