Skip to content

Commit

Permalink
Add original cause to the exception
Browse files Browse the repository at this point in the history
  • Loading branch information
szegedi committed Apr 5, 2011
1 parent c196736 commit f368fcf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public Request createRequest(Command cmd, byte[]... args) throws ProviderExcepti
}
}
catch (IOException e) {
throw new ProviderException("Problem writing to the buffer" + e.getLocalizedMessage());
throw new ProviderException("Problem writing to the buffer" + e.getLocalizedMessage(), e);
}
return createRequest(buffer);
}
Expand Down

0 comments on commit f368fcf

Please sign in to comment.