Author: tchemit Date: 2008-01-20 13:41:28 +0000 (Sun, 20 Jan 2008) New Revision: 258 Added: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/SimExplorerException.java trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/SimExplorerRuntimeException.java Log: les exceptions de base Added: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/SimExplorerException.java =================================================================== --- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/SimExplorerException.java (rev 0) +++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/SimExplorerException.java 2008-01-20 13:41:28 UTC (rev 258) @@ -0,0 +1,44 @@ +/* +* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin, +* Tony Chemit, Gabriel Landais +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License +* as published by the Free Software Foundation; either version 2 +* of the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +* ##% */ +package fr.cemagref.simexplorer.is; + +/** + * Exception de base. + * + * @author chemit + */ +public class SimExplorerException extends Exception { + + private static final long serialVersionUID = -8288416952045350383L; + + public SimExplorerException() { + } + + public SimExplorerException(Throwable cause) { + super(cause); + } + + public SimExplorerException(String message) { + super(message); + } + + public SimExplorerException(String message, Throwable cause) { + super(message, cause); + } +} Added: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/SimExplorerRuntimeException.java =================================================================== --- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/SimExplorerRuntimeException.java (rev 0) +++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/SimExplorerRuntimeException.java 2008-01-20 13:41:28 UTC (rev 258) @@ -0,0 +1,43 @@ +/* +* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin, +* Tony Chemit, Gabriel Landais +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License +* as published by the Free Software Foundation; either version 2 +* of the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +* ##% */ +package fr.cemagref.simexplorer.is; + +/** + * RuntimeException de base. + * + * @author chemit + */ +public class SimExplorerRuntimeException extends RuntimeException { + private static final long serialVersionUID = -4412747043461741154L; + + public SimExplorerRuntimeException() { + } + + public SimExplorerRuntimeException(Throwable cause) { + super(cause); + } + + public SimExplorerRuntimeException(String message) { + super(message); + } + + public SimExplorerRuntimeException(String message, Throwable cause) { + super(message, cause); + } +} \ No newline at end of file
participants (1)
-
tchemit@users.labs.libre-entreprise.org