Skip to content

Commit

Permalink
Adding an extra catch block for Exception and Throwable types. This i…
Browse files Browse the repository at this point in the history
…s used to catch the ClassNotFound exceptions
  • Loading branch information
Chinmay Soman authored and abh1nay committed Mar 22, 2013
1 parent b8f3a8d commit 1c606ef
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -510,6 +510,10 @@ private CheckSum copyFileWithCheckSum(FileSystem fs,
throw ioe;
}

} catch(Exception e) {
e.printStackTrace();
} catch(Throwable te) {
te.printStackTrace();
} finally {
IOUtils.closeQuietly(output);
IOUtils.closeQuietly(input);
Expand Down

0 comments on commit 1c606ef

Please sign in to comment.