Example usage for org.apache.commons.compress.compressors CompressorException toString

List of usage examples for org.apache.commons.compress.compressors CompressorException toString

Introduction

In this page you can find the example usage for org.apache.commons.compress.compressors CompressorException toString.

Prototype

public String toString() 

Source Link

Document

Returns a short description of this throwable.

Usage

From source file:com.github.n_i_e.dirtreedb.ApacheCompressCompressorLister.java

public ApacheCompressCompressorLister(PathEntry basepath, InputStream inf) throws IOException {
    super(basepath, inf);
    try {/* w  w w  .j  av a 2s.  c o  m*/
        setInstream(new CompressorStreamFactory().createCompressorInputStream(inf));
    } catch (CompressorException e) {
        throw new IOException(e.toString());
    }
}