com.flipkart.hbaseobjectmapper.exceptions.BadHBaseLibStateException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hbase-object-mapper Show documentation
Show all versions of hbase-object-mapper Show documentation
HBase ORM is a light-weight, thread-safe and performant library that enables:
[1] object-oriented access of HBase rows (Data Access Object) with minimal code and good testability.
[2] reading from and/or writing to HBase tables in Hadoop MapReduce jobs.
This can also be used as an ORM for Bigtable.
The newest version!
package com.flipkart.hbaseobjectmapper.exceptions;
import com.flipkart.hbaseobjectmapper.HBObjectMapper;
/**
* Thrown when {@link HBObjectMapper HBObjectMapper} fails to convert bean-like objects to HBase data types or vice-versa
*/
public class BadHBaseLibStateException extends IllegalStateException {
private static final String BAD_HBASE_STATE_ERROR = "Unknown error - possibly, HBase library is unavailable at runtime or an incorrect/unsupported version of HBase is being used";
public BadHBaseLibStateException(Throwable throwable) {
super(BAD_HBASE_STATE_ERROR, throwable);
}
}