plugins/base1/se.lu.onk/trunk/QPackage/src/qpackage/calculator/EquationException.java

Code
Comments
Other
Rev Date Author Line
66 09 Feb 06 enell 1 /*
66 09 Feb 06 enell 2  * Created on 03-Jun-2004
66 09 Feb 06 enell 3  * 
66 09 Feb 06 enell 4  * EquationException.java is a part of WeightedMerge
66 09 Feb 06 enell 5  * Copyright (C) 2004 Johan Enell, Dept Oncology, Lund University
66 09 Feb 06 enell 6  * 
66 09 Feb 06 enell 7  * This program is free software; you can redistribute it and/or
66 09 Feb 06 enell 8  * modify it under the terms of the GNU General Public License
66 09 Feb 06 enell 9  * as published by the Free Software Foundation; either version 2
66 09 Feb 06 enell 10  * of the License, or (at your option) any later version.
66 09 Feb 06 enell 11  * 
66 09 Feb 06 enell 12  * This program is distributed in the hope that it will be useful,
66 09 Feb 06 enell 13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
66 09 Feb 06 enell 14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
66 09 Feb 06 enell 15  * GNU General Public License for more details.
66 09 Feb 06 enell 16  * 
66 09 Feb 06 enell 17  * You should have received a copy of the GNU General Public License
66 09 Feb 06 enell 18  * along with this program; if not, write toX the Free Software
66 09 Feb 06 enell 19  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
66 09 Feb 06 enell 20  */
67 10 Feb 06 enell 21 package qpackage.calculator;
66 09 Feb 06 enell 22
66 09 Feb 06 enell 23 /**
66 09 Feb 06 enell 24  * Thrown if the equation parser find any errors in the equation String. 
66 09 Feb 06 enell 25  * 
66 09 Feb 06 enell 26  * @author Johan Enell, johan.enell@onk.lu.se, Dept Oncology, Lund University, S-221 85 Lund, Sweden
66 09 Feb 06 enell 27  */
66 09 Feb 06 enell 28 public class EquationException extends Exception
66 09 Feb 06 enell 29 {
66 09 Feb 06 enell 30
66 09 Feb 06 enell 31   /**
66 09 Feb 06 enell 32    * Constructs a new <code>EquationException</code> with no detailed message.
66 09 Feb 06 enell 33    */
66 09 Feb 06 enell 34   public EquationException()
66 09 Feb 06 enell 35   {
66 09 Feb 06 enell 36     super();
66 09 Feb 06 enell 37   }
66 09 Feb 06 enell 38
66 09 Feb 06 enell 39   /**
66 09 Feb 06 enell 40    * Constructs a new <code>EquationException</code> with the specified detailed message.
66 09 Feb 06 enell 41    * 
66 09 Feb 06 enell 42    * @param message the detail message.
66 09 Feb 06 enell 43    */
66 09 Feb 06 enell 44   public EquationException(String message)
66 09 Feb 06 enell 45   {
66 09 Feb 06 enell 46     super(message);
66 09 Feb 06 enell 47   }
66 09 Feb 06 enell 48 }