Added description for InvalidDataFormatException

This commit is contained in:
Michael Becker 2014-07-01 20:17:42 -04:00
parent 348e227c5d
commit 569fa85e65

View File

@ -27,7 +27,7 @@ namespace UniversalEditor.DataFormats.FileSystem.ARC
IO.Reader br = base.Accessor.Reader;
br.Endianness = IO.Endianness.LittleEndian;
byte magic = br.ReadByte();
if (magic != 0x1A) throw new InvalidDataFormatException();
if (magic != 0x1A) throw new InvalidDataFormatException("File does not begin with 0x1A");
byte compressionMethod = br.ReadByte();
string fileName = br.ReadNullTerminatedString(12);