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

liquibase.exception.DatabaseIncapableOfOperation Maven / Gradle / Ivy

There is a newer version: 3.6.2.5.inovus
Show newest version
package liquibase.exception;

import liquibase.database.Database;

public class DatabaseIncapableOfOperation extends RuntimeException {
    private static final long serialVersionUID = -2179551294831803877L;
    private String operation;
    private String reason;

    public DatabaseIncapableOfOperation(String operation, String reason, Database database) {
        super(operation + " is not supported on " + database.getShortName() + ": " + reason);
        this.reason = reason;
    }

    public String getOperation() {
        return operation;
    }

    public String getReason() {
        return reason;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy