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