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

liquibase.exception.LiquibaseException Maven / Gradle / Ivy

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy