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

tech.ydb.topic.read.DecompressionException Maven / Gradle / Ivy

There is a newer version: 2.3.0
Show newest version
package tech.ydb.topic.read;

import java.io.IOException;
import java.io.UncheckedIOException;

/**
 * @author Nikolay Perfilov
 */
public class DecompressionException extends UncheckedIOException {
    private static final long serialVersionUID = 2720187645859527813L;

    private final byte[] rawData;
    public DecompressionException(String message, IOException cause, byte[] rawData) {
        super(message, cause);
        this.rawData = rawData;
    }

    /**
     * @return Raw message byte data that failed be decompressed
     */
    public byte[] getRawData() {
        return rawData;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy