001package fr.ifremer.adagio.core.dao.technical;
002
003/*
004 * #%L
005 * SIH-Adagio Core Shared
006 * $Id: DatabaseSchemaUpdateException.java 11866 2013-12-02 15:53:58Z tc1fbb1 $
007 * $HeadURL: https://forge.ifremer.fr/svn/sih-adagio/tags/adagio-3.5.6/core-shared/src/main/java/fr/ifremer/adagio/core/dao/technical/DatabaseSchemaUpdateException.java $
008 * %%
009 * Copyright (C) 2012 - 2013 Ifremer
010 * %%
011 * This program is free software: you can redistribute it and/or modify
012 * it under the terms of the GNU Affero General Public License as published by
013 * the Free Software Foundation, either version 3 of the License, or
014 * (at your option) any later version.
015 * 
016 * This program is distributed in the hope that it will be useful,
017 * but WITHOUT ANY WARRANTY; without even the implied warranty of
018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
019 * GNU General Public License for more details.
020 * 
021 * You should have received a copy of the GNU Affero General Public License
022 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
023 * #L%
024 */
025
026/**
027 * When a database update was not sucessful.
028 *
029 * @author tchemit <chemit@codelutin.com>
030 * @see DatabaseSchemaDao#updateSchema()
031 * @since 3.4
032 */
033public class DatabaseSchemaUpdateException extends Exception {
034
035    private static final long serialVersionUID = 1L;
036
037    public DatabaseSchemaUpdateException() {
038        super();
039    }
040
041    public DatabaseSchemaUpdateException(String message) {
042        super(message);
043    }
044
045    public DatabaseSchemaUpdateException(String message, Throwable cause) {
046        super(message, cause);
047    }
048}