liquibase.exception.LiquibaseException 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.
The newest version!
package liquibase.exception;
import java.util.logging.Level;
/**
* Base class for all Liquibase exceptions.
*/
public class LiquibaseException extends Exception {
private static final long serialVersionUID = 1L;
private String timestamp;
private String details;
private Level logLevel = null;
public LiquibaseException() {
}
public LiquibaseException(String message) {
super(message);
}
public LiquibaseException(String message, Level logLevel) {
super(message);
this.logLevel = logLevel;
}
public LiquibaseException(String message, Throwable cause) {
super(message, cause);
}
public LiquibaseException(Throwable cause) {
super(cause);
}
public Level getLogLevel() {
return logLevel;
}
public void setTimestamp(String timestamp) {
this.timestamp = timestamp;
}
public String getTimestamp() {
return timestamp;
}
public String getDetails() {
return details;
}
public void setDetails(String details) {
this.details = details;
}
}