diff --git a/SMBLibrary/NTFileStore/Structures/FileInformation/FileInformation.cs b/SMBLibrary/NTFileStore/Structures/FileInformation/FileInformation.cs index b841527..b0b3843 100644 --- a/SMBLibrary/NTFileStore/Structures/FileInformation/FileInformation.cs +++ b/SMBLibrary/NTFileStore/Structures/FileInformation/FileInformation.cs @@ -1,4 +1,4 @@ -/* Copyright (C) 2017 Tal Aloni . All rights reserved. +/* Copyright (C) 2017-2021 Tal Aloni . All rights reserved. * * You can redistribute this program and/or modify it under the terms of * the GNU Lesser Public License as published by the Free Software Foundation, @@ -88,7 +88,7 @@ namespace SMBLibrary case FileInformationClass.FileShortNameInformation: throw new NotImplementedException(); default: - throw new UnsupportedInformationLevelException(); + throw new UnsupportedInformationLevelException(String.Format("Unsupported information class: {0}", informationClass)); } } }