diff --git a/src/PixiEditor/Models/IO/PaletteParsers/PixiPaletteParser.cs b/src/PixiEditor/Models/IO/PaletteParsers/PixiPaletteParser.cs index 9ebaed06f..ab7b0358a 100644 --- a/src/PixiEditor/Models/IO/PaletteParsers/PixiPaletteParser.cs +++ b/src/PixiEditor/Models/IO/PaletteParsers/PixiPaletteParser.cs @@ -34,6 +34,6 @@ private async Task ParseFile(string path) public override Task Save(string path, PaletteFileData data) { - throw new NotImplementedException("Saving palette to .pixi directly is not supported."); + throw new SavingNotSupportedException("Saving palette as .pixi directly is not supported."); } } diff --git a/src/PixiEditor/Models/IO/PaletteParsers/SavingNotSupportedException.cs b/src/PixiEditor/Models/IO/PaletteParsers/SavingNotSupportedException.cs index e1a0276ab..8029cc3a1 100644 --- a/src/PixiEditor/Models/IO/PaletteParsers/SavingNotSupportedException.cs +++ b/src/PixiEditor/Models/IO/PaletteParsers/SavingNotSupportedException.cs @@ -2,5 +2,7 @@ public class SavingNotSupportedException : Exception { - + public SavingNotSupportedException(string message) : base(message) + { + } }