diff --git a/botw-toolset/Color.cs b/botw-toolset/Color.cs deleted file mode 100644 index 58e0873..0000000 --- a/botw-toolset/Color.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace BOTWToolset -{ - struct Color - { - public byte R; - public byte G; - public byte B; - - public Color(byte r, byte g, byte b) - { - R = r; - G = g; - B = b; - } - } -} diff --git a/botw-toolset/Exceptions/InvalidMagicException.cs b/botw-toolset/Exceptions/InvalidMagicException.cs new file mode 100644 index 0000000..a42c8b6 --- /dev/null +++ b/botw-toolset/Exceptions/InvalidMagicException.cs @@ -0,0 +1,14 @@ +using System; + +namespace BOTWToolset.Exceptions +{ + /// + /// An exception that's thrown when the magic header in a file is not what was expected. + /// + class InvalidMagicException : Exception + { + public InvalidMagicException() : base() { } + public InvalidMagicException(string message) : base(message) { } + public InvalidMagicException(string message, Exception inner) : base(message, inner) { } + } +}