title: Understanding Java IOException
body: <p>I need some help with understanding the IOException. I've reviewed a lot of information on the internet, and looked at the technical specifications at Oracle's Java website.</p>
  
  <p>Am I correct in my understanding of the IOException class and all of it's sub-classes, that there are no associated "error messages" or "return code" values?</p>
  
  <p>So if one wanted to issue some message and/or return code value, one would have to insert them with the IOException catch logic? </p>
  
  <p>If the above is true, how would one separate the various IOException subclasses?</p>
  
  <p>e.g. If the application detected an IOException, what sort of IOException is it? End-Of-File, File-Is-Closed, File-Not_found, File-In-Use, etc.</p>