package com.codenvy.ide.ext.datasource.shared.exception;

/**
 * Exception used when a database definition is incorrect.
 * 
 * @author "Mickaël Leduque"
 */
public class DatabaseDefinitionException extends Exception {

    /** Serialization UID. */
    private static final long serialVersionUID = 1L;

    public DatabaseDefinitionException() {
    }


    public DatabaseDefinitionException(final String message) {
        super(message);
    }

    public DatabaseDefinitionException(final Throwable cause) {
        super(cause);
    }

    public DatabaseDefinitionException(final String message, final Throwable cause) {
        super(message, cause);
    }

    public DatabaseDefinitionException(final String message,
                                       final Throwable cause,
                                       final boolean enableSuppression,
                                       final boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }

}

Add an exception for database config errors
Add an exception for database config errors
