Permalink
Browse files

Adding an extra catch block for Exception and Throwable types. This i…

…s used to catch the ClassNotFound exceptions
  • Loading branch information...
1 parent b8f3a8d commit 1c606ef136c19e4c63622e0db24da1bef19ae10a Chinmay Soman committed with abh1nay Mar 21, 2013
@@ -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);

0 comments on commit 1c606ef

Please sign in to comment.