|
- namespace Campaign_Tracker.Server.LegacyData;
-
- /// <summary>
- /// Base exception for errors originating in the legacy data access layer.
- /// </summary>
- public class LegacyDataAccessException : Exception
- {
- public LegacyDataAccessException(string message) : base(message) { }
- public LegacyDataAccessException(string message, Exception innerException) : base(message, innerException) { }
- }
-
- /// <summary>
- /// Thrown when the anti-corruption layer boundary detects an attempted write
- /// operation on an immutable legacy table (AC #2).
- /// </summary>
- public sealed class LegacyWriteAttemptException : LegacyDataAccessException
- {
- public LegacyWriteAttemptException(string message) : base(message) { }
- }
|