tech.ydb.topic.read.DecompressionException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ydb-sdk-topic Show documentation
Show all versions of ydb-sdk-topic Show documentation
Topic client implementation
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;
}
}