mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-07-25 02:18:16 +02:00
FileInformation.GetFileInformation: Improved exception message
This commit is contained in:
parent
b7f93b06b0
commit
193ab13777
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 2017 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
|
||||
/* Copyright (C) 2017-2021 Tal Aloni <tal.aloni.il@gmail.com>. 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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue