liquibase.exception.InvalidChangeDefinitionException 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.Scope;
import liquibase.change.Change;
import liquibase.change.ChangeFactory;
public class InvalidChangeDefinitionException extends LiquibaseException {
private static final long serialVersionUID = -429400803681987065L;
public InvalidChangeDefinitionException(String message, Change change) {
super(Scope.getCurrentScope().getSingleton(ChangeFactory.class).getChangeMetaData(change).getName()+" in '"+change.getChangeSet().toString(false)+"' is invalid: "+message);
}
}