All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.archive.format.gzip.GZIPFormatException Maven / Gradle / Ivy

The newest version!
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;
		}
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy