EDBGS/EDPlayerJournal/JournalException.cs
Florian Stinglmayr d6842115c5 no longer completely fail on one wrong entry
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
2023-10-25 11:30:34 +02:00

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) {}
}