Talk:Learning Java/Error handling

From Wikiversity
Jump to navigation Jump to search
what is exception handling in java

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[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[reply]