Added description for InvalidDataFormatException
This commit is contained in:
parent
348e227c5d
commit
569fa85e65
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user