liquibase.exception.DatabaseIncapableOfOperation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-core Show documentation
Show all versions of liquibase-core Show documentation
Liquibase is a tool for managing and executing database changes.
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;
}
}