|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| IllegalModuleDataException.java | - | 33,3% | 33,3% | 33,3% |
|
||||||||||||||
| 1 | /* $Id: IllegalModuleDataException.java,v 1.7 2006/10/20 20:23:05 m31 Exp $ | |
| 2 | * | |
| 3 | * This file is part of the project "Hilbert II" - http://www.qedeq.org | |
| 4 | * | |
| 5 | * Copyright 2000-2006, 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.bo.module; | |
| 19 | ||
| 20 | import org.qedeq.kernel.context.ModuleContext; | |
| 21 | ||
| 22 | ||
| 23 | /** | |
| 24 | * Data validation error for a QEDEQ module. Occurs if a set or add method leads to wrong or | |
| 25 | * inconsistent data. | |
| 26 | * | |
| 27 | * @version $Revision: 1.7 $ | |
| 28 | * @author Michael Meyling | |
| 29 | */ | |
| 30 | public class IllegalModuleDataException extends ModuleDataException { | |
| 31 | ||
| 32 | /** | |
| 33 | * Constructor. | |
| 34 | * | |
| 35 | * @param errorCode Error code of this message. | |
| 36 | * @param message Error message. | |
| 37 | * @param context Error location. | |
| 38 | * @param referenceContext Reference location. | |
| 39 | * @param cause Detailed exception information. | |
| 40 | */ | |
| 41 | 2 | public IllegalModuleDataException(final int errorCode, final String message, |
| 42 | final ModuleContext context, final ModuleContext referenceContext, | |
| 43 | final Exception cause) { | |
| 44 | 2 | super(errorCode, message, context, referenceContext, cause); |
| 45 | } | |
| 46 | ||
| 47 | /** | |
| 48 | * Constructor. | |
| 49 | * | |
| 50 | * @param errorCode Error code of this message. | |
| 51 | * @param message Error message. | |
| 52 | * @param context Error location. | |
| 53 | * @param cause Detailed exception information. | |
| 54 | */ | |
| 55 | 0 | public IllegalModuleDataException(final int errorCode, final String message, |
| 56 | final ModuleContext context, final Exception cause) { | |
| 57 | 0 | super(errorCode, message, context, cause); |
| 58 | } | |
| 59 | ||
| 60 | /** | |
| 61 | * Constructor. | |
| 62 | * | |
| 63 | * @param errorCode Error code of this message. | |
| 64 | * @param message Error message. | |
| 65 | * @param context Error location. | |
| 66 | */ | |
| 67 | 0 | public IllegalModuleDataException(final int errorCode, final String message, |
| 68 | final ModuleContext context) { | |
| 69 | 0 | super(errorCode, message, context); |
| 70 | } | |
| 71 | ||
| 72 | } |
|
||||||||||