DBVIEW
src/org/dbview/db/structure/DatabaseException.java
00001 /*
00002         DbView - Graph Visualization
00003     Copyright (C) 2012  Denis BEURIVE
00004 
00005     This program is free software: you can redistribute it and/or modify
00006     it under the terms of the GNU General Public License as published by
00007     the Free Software Foundation, either version 3 of the License, or
00008     (at your option) any later version.
00009 
00010     This program is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013     GNU General Public License for more details.
00014 
00015     You should have received a copy of the GNU General Public License
00016     along with this program.  If not, see <http://www.gnu.org/licenses/>.
00017 */
00018 
00019 /**
00020  * @author Denis Beurive
00021  */
00022 package org.dbview.db.structure;
00023 
00024 /**
00025  * This exception is thrown whenever an error occurred while using a database.
00026  * @author Denis Beurive
00027  */
00028 public class DatabaseException extends Exception
00029 {
00030     /**
00031      * This value represents the version of the current class.
00032      * @note Please note that this serial number is only important when the class is serialized, which is not the case here.
00033      *       It is defined in order to avoid waning messages during compilation.
00034      */
00035     private static final long serialVersionUID = 3L;
00036 
00037     /**
00038      * Constructor.
00039      * @param in_message Error message.
00040      */
00041     public DatabaseException (String in_message)
00042     {
00043         super(in_message);
00044     }
00045 }