Skip to content

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

Description

@kirinalexdev

написано
"методы класса 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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions