xerial/snappy-java — pull request #15 by bpow (2012-09-07 02:06:23+00:00)
Title: Throw ExceptionInInitializerError rather than just printing stacktrace

This is one way to address issue #12. Rather then printing a stacktrace to stderr if the native libraries cannot be loaded, an ExceptionInInitializerError will be thrown. Because Errors are not checked exceptions, this also adds to the class javadoc to point out that static initialization of Snappy can throw this Error.