Clover Coverage Report
Coverage timestamp: Fri May 24 2013 13:47:27 UTC
../../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
4   82   4   1
0   20   1   4
4     1  
1    
 
  IllegalModuleDataException       Line # 25 4 4 100% 1.0
 
No Tests
 
1    /* This file is part of the project "Hilbert II" - http://www.qedeq.org
2    *
3    * Copyright 2000-2013, 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.se.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  20 toggle public IllegalModuleDataException(final int errorCode, final String message,
37    final ModuleContext context, final ModuleContext referenceContext,
38    final Exception cause) {
39  20 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  3 toggle public IllegalModuleDataException(final int errorCode, final String message,
51    final ModuleContext context, final Exception cause) {
52  3 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  16 toggle public IllegalModuleDataException(final int errorCode, final String message,
63    final ModuleContext context) {
64  16 super(errorCode, message, context);
65    }
66   
67    /**
68    * Constructor.
69    *
70    * @param errorCode Error code of this message.
71    * @param message Error message.
72    * @param context Error location.
73    * @param referenceContext Reference location.
74    */
 
75  3 toggle public IllegalModuleDataException(final int errorCode, final String message,
76    final ModuleContext context, final ModuleContext referenceContext) {
77  3 super(errorCode, message, context, referenceContext);
78    }
79   
80   
81   
82    }