|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
IllegalModuleDataException | Line # 28 | 3 | 3 | 33,3% |
0.33333334
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
(3) | |||
Result | |||
0.33333334
|
org.qedeq.kernel.bo.control.QedeqBoFactoryTest.testCreateStringQedeq1 org.qedeq.kernel.bo.control.QedeqBoFactoryTest.testCreateStringQedeq1 | 1 PASS | |
0.33333334
|
org.qedeq.kernel.bo.latex.GenerateLatexTest.testNegative02 org.qedeq.kernel.bo.latex.GenerateLatexTest.testNegative02 | 1 PASS | |
0.33333334
|
org.qedeq.kernel.bo.latex.GenerateLatexTest.testNegative02 org.qedeq.kernel.bo.latex.GenerateLatexTest.testNegative02 | 1 PASS | |
1 | /* $Id: IllegalModuleDataException.java,v 1.1 2008/03/27 05:16:25 m31 Exp $ | |
2 | * | |
3 | * This file is part of the project "Hilbert II" - http://www.qedeq.org | |
4 | * | |
5 | * Copyright 2000-2008, Michael Meyling <mime@qedeq.org>. | |
6 | * | |
7 | * "Hilbert II" is free software; you can redistribute | |
8 | * it and/or modify it under the terms of the GNU General Public | |
9 | * License as published by the Free Software Foundation; either | |
10 | * version 2 of the License, or (at your option) any later version. | |
11 | * | |
12 | * This program is distributed in the hope that it will be useful, | |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | * GNU General Public License for more details. | |
16 | */ | |
17 | ||
18 | package org.qedeq.kernel.common; | |
19 | ||
20 | ||
21 | /** | |
22 | * Data validation error for a QEDEQ module. Occurs if a set or add method leads to wrong or | |
23 | * inconsistent data. | |
24 | * | |
25 | * @version $Revision: 1.1 $ | |
26 | * @author Michael Meyling | |
27 | */ | |
28 | public class IllegalModuleDataException extends ModuleDataException { | |
29 | ||
30 | /** | |
31 | * Constructor. | |
32 | * | |
33 | * @param errorCode Error code of this message. | |
34 | * @param message Error message. | |
35 | * @param context Error location. | |
36 | * @param referenceContext Reference location. | |
37 | * @param cause Detailed exception information. | |
38 | */ | |
39 | 3 | public IllegalModuleDataException(final int errorCode, final String message, |
40 | final ModuleContext context, final ModuleContext referenceContext, | |
41 | final Exception cause) { | |
42 | 3 | super(errorCode, message, context, referenceContext, cause); |
43 | } | |
44 | ||
45 | /** | |
46 | * Constructor. | |
47 | * | |
48 | * @param errorCode Error code of this message. | |
49 | * @param message Error message. | |
50 | * @param context Error location. | |
51 | * @param cause Detailed exception information. | |
52 | */ | |
53 | 0 | public IllegalModuleDataException(final int errorCode, final String message, |
54 | final ModuleContext context, final Exception cause) { | |
55 | 0 | super(errorCode, message, context, cause); |
56 | } | |
57 | ||
58 | /** | |
59 | * Constructor. | |
60 | * | |
61 | * @param errorCode Error code of this message. | |
62 | * @param message Error message. | |
63 | * @param context Error location. | |
64 | */ | |
65 | 0 | public IllegalModuleDataException(final int errorCode, final String message, |
66 | final ModuleContext context) { | |
67 | 0 | super(errorCode, message, context); |
68 | } | |
69 | ||
70 | } |
|