org.archive.format.gzip.GZIPFormatException Maven / Gradle / Ivy
package org.archive.format.gzip;
import java.io.IOException;
import org.archive.RecoverableRecordFormatException;
public class GZIPFormatException extends RecoverableRecordFormatException {
/** */
private static final long serialVersionUID = -3526676437467483190L;
public GZIPFormatException() {
super();
}
public GZIPFormatException(String message) {
super(message);
}
public GZIPFormatException(Exception e) {
super(e);
}
public GZIPFormatException(String message, IOException e) {
super(message,e);
}
public static class GZIPExtraFieldShortException extends GZIPFormatException {
int bytesRead;
public GZIPExtraFieldShortException(int bytesRead) {
super("Extra Field short.");
this.bytesRead = bytesRead;
}
}
}