aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2018-07-27 00:35:52 -0700
committerRob Mensching <rob@firegiant.com>2018-07-27 11:31:18 -0700
commitc8c73ccddedcb64f9989e3d5a9f15240b476b551 (patch)
tree099f35daf71912b211223abcefafc97068971217 /src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs
parent854e616eb3516c7405691b679617aa08c1dd1cdd (diff)
downloadwix-c8c73ccddedcb64f9989e3d5a9f15240b476b551.tar.gz
wix-c8c73ccddedcb64f9989e3d5a9f15240b476b551.tar.bz2
wix-c8c73ccddedcb64f9989e3d5a9f15240b476b551.zip
Remove WixFileNotFoundException, report checked paths and improve bind path command-line parsing
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs')
-rw-r--r--src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs
index 1a77b84e..3ab3b601 100644
--- a/src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs
+++ b/src/WixToolset.Core.WindowsInstaller/Bind/GenerateDatabaseCommand.cs
@@ -334,10 +334,10 @@ namespace WixToolset.Core.WindowsInstaller.Bind
334 db.Commit(); 334 db.Commit();
335 } 335 }
336 } 336 }
337 catch (IOException) 337 catch (IOException e)
338 { 338 {
339 // TODO: this error message doesn't seem specific enough 339 // TODO: this error message doesn't seem specific enough
340 throw new WixFileNotFoundException(new SourceLineNumber(this.OutputPath), this.OutputPath); 340 throw new WixException(ErrorMessages.FileNotFound(new SourceLineNumber(this.OutputPath), this.OutputPath), e);
341 } 341 }
342 } 342 }
343 343