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