title: File.getCanonicalPath() failure examples
body: <p>Does anyone have an experience or know when the method <code>File.getCanonicalPath()</code> will throw an <code>IOException</code></p>
  
  <p>I have tried to look up from the Internet and the best answer is in <a href="http://download.oracle.com/javase/6/docs/api/java/io/File.html#getCanonicalPath%28%29">File API</a> which says </p>
  
  <p>"<code>IOException</code> - If an I/O error occurs, which is possible because the construction of the canonical pathname may require filesystem queries"</p>
  
  <p>However, it is not clear to me because I still cannot think of a case which this might fail. Can anyone give me concrete examples which can happen on Linux, Windows and other OS (optional)?</p>
  
  <p>I reason I want to know is because I want to handle this exception accordingly. Thus, it will be best if I know all the possible failures that can happen.</p>