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

com.flipkart.hbaseobjectmapper.exceptions.MappedColumnCantBeStaticException Maven / Gradle / Ivy

package com.flipkart.hbaseobjectmapper.exceptions;

import java.lang.reflect.Field;

public class MappedColumnCantBeStaticException extends IllegalArgumentException {
    public MappedColumnCantBeStaticException(Field field, String hbColumnName) {
        super(String.format("In class \"%s\", the field \"%s\" is annotated with \"%s\", but is declared as static (Only instance fields can be mapped to HBase columns)", field.getDeclaringClass().getName(), field.getName(), hbColumnName));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy