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

Java FileLogger creation exception #2892

Open
bernardnormier opened this issue Oct 11, 2024 · 0 comments
Open

Java FileLogger creation exception #2892

bernardnormier opened this issue Oct 11, 2024 · 0 comments
Assignees
Milestone

Comments

@bernardnormier
Copy link
Member

Do we need to throw our own exception here?

If so, the error message should include that the file is not found. We should also watch SecurityException in case the user does not have permission.

https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/FileOutputStream.html#%3Cinit%3E(java.io.File,boolean)

Originally posted by @externl in #2882 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants