This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes What is Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "What is "err" stream ?" Watch "What is "err" stream ?" New topic

What is "err" stream ?

omkar patkar
Ranch Hand

Joined: Aug 25, 2005
Posts: 231
What is "err" stream ? How is it different from normal IO stream ?

Thanks and Regards
Omkar Patkar (SCJP 1.4)[url][/url] | [url][/url]
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
I'm not sure what you mean by "normal IOStream". The "err" stream is an OutputStream. It differs from the "out" stream in that it prints its output to "standard error" (or stderr) where as "out" prints to "standard out" (or stdout). The terms stderr and stdout steam from Unix where it is common to separate the "regular" output from the error messages. This allows you to redirect the "regular" output to a file and let the error messages print to the console, for example.


Java API Documentation
The Java Tutorial
I agree. Here's the link:
subject: What is "err" stream ?
Similar Threads
Threads Blocked
using to send e-mail
Compile Java prg within Java prg, show errors
passed scjp with 100%
A small question on "err"