U17 might have caused some journal bugs so don't fail immediately on one wrong entry, instead keep them in an Errors collection for later processing
18 lines
599 B
C#
18 lines
599 B
C#
namespace EDPlayerJournal;
|
|
|
|
/// <summary>
|
|
/// Thrown when the parser encounters an invalid journal entry
|
|
/// </summary>
|
|
public class InvalidJournalEntryException : Exception {
|
|
public InvalidJournalEntryException() { }
|
|
public InvalidJournalEntryException(string message) : base(message) { }
|
|
public InvalidJournalEntryException(string message, Exception inner) : base(message, inner) { }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Thrown when the parser finds an invalid journal file
|
|
/// </summary>
|
|
public class JournalException : Exception {
|
|
public JournalException(string message) : base(message) {}
|
|
}
|