66 |
09 Feb 06 |
enell |
1 |
/* |
66 |
09 Feb 06 |
enell |
* Created on 03-Jun-2004 |
66 |
09 Feb 06 |
enell |
3 |
* |
66 |
09 Feb 06 |
enell |
* EquationException.java is a part of WeightedMerge |
66 |
09 Feb 06 |
enell |
* Copyright (C) 2004 Johan Enell, Dept Oncology, Lund University |
66 |
09 Feb 06 |
enell |
6 |
* |
66 |
09 Feb 06 |
enell |
* This program is free software; you can redistribute it and/or |
66 |
09 Feb 06 |
enell |
* modify it under the terms of the GNU General Public License |
66 |
09 Feb 06 |
enell |
* as published by the Free Software Foundation; either version 2 |
66 |
09 Feb 06 |
enell |
* of the License, or (at your option) any later version. |
66 |
09 Feb 06 |
enell |
11 |
* |
66 |
09 Feb 06 |
enell |
* This program is distributed in the hope that it will be useful, |
66 |
09 Feb 06 |
enell |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
66 |
09 Feb 06 |
enell |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
66 |
09 Feb 06 |
enell |
* GNU General Public License for more details. |
66 |
09 Feb 06 |
enell |
16 |
* |
66 |
09 Feb 06 |
enell |
* You should have received a copy of the GNU General Public License |
66 |
09 Feb 06 |
enell |
* along with this program; if not, write toX the Free Software |
66 |
09 Feb 06 |
enell |
* 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 |
* Thrown if the equation parser find any errors in the equation String. |
66 |
09 Feb 06 |
enell |
25 |
* |
66 |
09 Feb 06 |
enell |
* @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 |
* 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 |
* Constructs a new <code>EquationException</code> with the specified detailed message. |
66 |
09 Feb 06 |
enell |
41 |
* |
66 |
09 Feb 06 |
enell |
* @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 |
} |