move invalid entry exception
This commit is contained in:
parent
a2c4056979
commit
a713e450fe
@ -4,11 +4,6 @@ using System.Runtime.InteropServices;
|
||||
|
||||
namespace EDPlayerJournal.Entries;
|
||||
|
||||
public class InvalidJournalEntryException : Exception {
|
||||
public InvalidJournalEntryException() { }
|
||||
public InvalidJournalEntryException(string message) : base(message) { }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Base class for a single entry within the player journal. If no specific sub class is available
|
||||
/// this class gives basic information, such as EventType or date when it happened. It also allows
|
||||
|
@ -1,7 +1,16 @@
|
||||
using System;
|
||||
namespace EDPlayerJournal;
|
||||
|
||||
namespace EDPlayerJournal;
|
||||
public class JournalException : Exception {
|
||||
public JournalException(string message) : base(message) {
|
||||
}
|
||||
/// <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) {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user