title: How to check if IOException is Not-Enough-Disk-Space-Exception type?
body: <p>How can I check if <code>IOException</code> is a "Not enough disk space" exception type?</p>
  
  <p>At the moment I check to see if the message matches something like "Not enough disk space", but I know that this won't work if the OS language is not English.</p>