[
  {
    "Id": "512971",
    "ThreadId": "232420",
    "Html": "\r\n<p>I can only seem to get file not found exception to work. I'd like to have my code report if it's a bad file, as well as any generic exceptions. Once test I did is to create a blank or bogus zip file and try to extract it.&nbsp; My app will open then close\r\n as soon as it tries to read the zip file and does not display an exception.</p>\r\n<p>Any ideas?</p>\r\n<p>Jim</p>\r\n",
    "PostedDate": "2010-10-26T13:51:39.82-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "513080",
    "ThreadId": "232420",
    "Html": "\r\n<p>Show your code, especially the try...catch statements where you handle exceptions.</p>\r\n<p>Keep in mind that ZipFile.Read() can throw System.IOException, among other exceptions.&nbsp; Said another way,&nbsp;not all exceptions thrown by ZipFile.Read() are of type Ionic.Zip.ZipException.&nbsp; This is documented in\r\n<a href=\"http://cheeso.members.winisp.net/DotNetZipHelp/html/840357ce-cfe0-f332-d6eb-9afa04479b7a.htm\">\r\nthe reference page for ZipFile.Read().</a>&nbsp;&nbsp; One implication: If you have a catch clause that specifies Ionic.Zip.ZipException, you will not catch these other exceptions, and your program will just exit.</p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n",
    "PostedDate": "2010-10-26T18:13:40.313-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]