EDBGS/EDPlayerJournal/JournalException.cs

17 lines
499 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) { }
}
/// <summary>
/// Thrown when the parser finds an invalid journal file
/// </summary>
public class JournalException : Exception {
public JournalException(string message) : base(message) {}
}