Jump to content

Talk:Learning Java/Error handling

Page contents not supported in other languages.
Add topic
From Wikiversity
Latest comment: 4 years ago by Dave Braunschweig in topic stderr or stdout?
what is exception handling in java

http://stringpool.com

stderr or stdout?

[edit source]

I think errors have to be printed on stderr instead of stdout, so not System.out but System.err--ITesarik (discusscontribs) 09:42, 25 January 2020 (UTC)Reply

@ITesarik: On most systems these days, stdout and stderr are the same device. But, there may be different monitoring for stderr output. -- Dave Braunschweig (discusscontribs) 18:05, 26 January 2020 (UTC)Reply