EDBGS/EDPlayerJournal/JournalException.cs

18 lines
599 B
C#
Raw Permalink Normal View History

2022-11-24 15:57:07 +01:00
namespace EDPlayerJournal;
2022-11-01 18:01:28 +01:00
2022-11-24 15:57:07 +01:00
/// <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) { }
2022-11-24 15:57:07 +01:00
}
/// <summary>
/// Thrown when the parser finds an invalid journal file
/// </summary>
2022-11-01 18:01:28 +01:00
public class JournalException : Exception {
2022-11-24 15:57:07 +01:00
public JournalException(string message) : base(message) {}
2022-11-01 18:01:28 +01:00
}