DBVIEW
src/org/dbview/db/structure/TableException.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 
00023 package org.dbview.db.structure;
00024 import java.lang.Exception;
00025 
00026 /**
00027  * This exception is thrown whenever an error occurred while using a table.
00028  * @author Denis Beurive
00029  */
00030 public class TableException extends Exception
00031 {
00032     /**
00033      * This value represents the version of the current class.
00034      * @note Please note that this serial number is only important when the class is serialized, which is not the case here.
00035      *       It is defined in order to avoid waning messages during compilation.
00036      */
00037     private static final long serialVersionUID = 2L;
00038 
00039     /**
00040      * Constructor.
00041      * @param in_message Error message.
00042      */
00043     public TableException(String in_message)
00044     {
00045         super(in_message);
00046     }
00047 }