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: 4.30.0
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 final String reason;

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

    public String getOperation() {
        return operation;
    }

    public String getReason() {
        return reason;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy