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

неточность в "В чем отличие класса PrintWriter от PrintStream?" #132

Open
kirinalexdev opened this issue Feb 15, 2023 · 0 comments

Comments

@kirinalexdev
Copy link

написано
"методы класса PrintWriter никогда не создают исключений. Для проверки ошибок необходимо явно вызвать метод checkError()."

При этом в документации к PrintStream тоже написано:
"never throws an IOException; instead, exceptional situations merely set an internal flag that can be tested via the checkError method"
https://docs.oracle.com/javase/8/docs/api/java/io/PrintStream.html

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

No branches or pull requests

1 participant