Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not existing input file should be handled #16

Closed
vbfox opened this issue May 9, 2015 · 3 comments
Closed

Not existing input file should be handled #16

vbfox opened this issue May 9, 2015 · 3 comments
Assignees
Labels

Comments

@vbfox
Copy link
Owner

vbfox commented May 9, 2015

Currently throw an exception

@vbfox vbfox self-assigned this May 9, 2015
@vbfox
Copy link
Owner Author

vbfox commented Jun 2, 2015

Not cool :

Unhandled Exception: System.IO.FileNotFoundException: Could not find file 'c:\test'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode)
   at BlackFox.Stidgen.ConfigurationParser.loadFromFile(FileInfo file)
   at BlackFox.Stidgen.FileGeneration.generateToFiles(String configurationPath)
   at BlackFox.Stidgen.Program.main(String[] argv)

@vbfox vbfox assigned vbfox and unassigned vbfox Jun 19, 2015
@vbfox vbfox added bug and removed enhancement labels Feb 26, 2016
@vbfox
Copy link
Owner Author

vbfox commented Feb 27, 2016

The exception doesn't exists anymore but in the current code there is no feedback for invalid file

@vbfox
Copy link
Owner Author

vbfox commented Feb 27, 2016

Done in 9fb9066

@vbfox vbfox closed this as completed Feb 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant