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

org.zodiac.fastorm.rdb.exception.DuplicateKeyException Maven / Gradle / Ivy

The newest version!
package org.zodiac.fastorm.rdb.exception;

import java.util.List;

import org.zodiac.fastorm.rdb.metadata.RDBColumnMetadata;

public class DuplicateKeyException extends RuntimeException {

    private static final long serialVersionUID = 2390426450775176150L;

    private final boolean primaryKey;

    private final List columns;

    public DuplicateKeyException(boolean primaryKey, List columns, Throwable cause) {
        super(cause);
        this.primaryKey = primaryKey;
        this.columns = columns;
    }

    public boolean isPrimaryKey() {
        return primaryKey;
    }

    public List getColumns() {
        return columns;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy