diff options
author | Daniel Imfeld <daniel@danielimfeld.com> | 2015-09-12 09:19:59 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-09-12 09:19:59 +0100 |
commit | 6d8367807cb62c2cb139cee1d039dc8b12c63385 (patch) | |
tree | 42c4b869b5ec7ac025ff051b19ad0c4484f7f0a5 /extras/java8-tests/src | |
parent | c34fc19765bdf55365cdce78d9ba11b220b73bb6 (diff) | |
download | spark-6d8367807cb62c2cb139cee1d039dc8b12c63385.tar.gz spark-6d8367807cb62c2cb139cee1d039dc8b12c63385.tar.bz2 spark-6d8367807cb62c2cb139cee1d039dc8b12c63385.zip |
[SPARK-10566] [CORE] SnappyCompressionCodec init exception handling masks important error information
When throwing an IllegalArgumentException in SnappyCompressionCodec.init, chain the existing exception. This allows potentially important debugging info to be passed to the user.
Manual testing shows the exception chained properly, and the test suite still looks fine as well.
This contribution is my original work and I license the work to the project under the project's open source license.
Author: Daniel Imfeld <daniel@danielimfeld.com>
Closes #8725 from dimfeld/dimfeld-patch-1.
Diffstat (limited to 'extras/java8-tests/src')
0 files changed, 0 insertions, 0 deletions