On 2014-02-28, sebb wrote:
> Can Compress catch the specific Assertion Error and convert it to a
> message that explains the issue? Perhaps even provide a link to a
> Wiki FAQ?
not without catching all AssertionErrors
java.lang.AssertionError: null
at org.tukaani.xz.SimpleInputStream.<init>(Unknown Source)
at org.tukaani.xz.X86Options.getInputStream(Unknown Source)
at
org.apache.commons.compress.archivers.sevenz.Coders$BCJDecoder.decode(Coders.java:123)
> Alternatively, can Compress detect the XZ version and refuse to run
> BCJ, again with suitable message?
No way short of parsing the OSGi attributes from the manifest.
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]