Clover Coverage Report
Coverage timestamp: Fri May 24 2013 13:47:27 UTC
0   75   0   -
0   22   -   0
0     -  
1    
 
  ServiceErrors       Line # 25 0 0 - -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.bo.service.control;
17   
18    import org.qedeq.kernel.se.common.ErrorCodes;
19   
20    /**
21    * Error codes and messages for service package.
22    *
23    * @author Michael Meyling
24    */
 
25    public interface ServiceErrors extends ErrorCodes {
26   
27    /** Error code. */
28    public static final int IO_ERROR_CODE = 9090;
29   
30    /** Error message. */
31    public static final String IO_ERROR_TEXT
32    = "Reading or writing failed.";
33   
34   
35    /** Error code. */
36    public static final int RUNTIME_ERROR_CODE = 90100;
37   
38    /** Error message. */
39    public static final String RUNTIME_ERROR_TEXT
40    = "Programming error occured.";
41   
42   
43    /** Error code. */
44    public static final int LOADING_FROM_FILE_BUFFER_FAILED_CODE = 90700;
45   
46    /** Error message. */
47    public static final String LOADING_FROM_FILE_BUFFER_FAILED_TEXT
48    = "Loading module from file buffer failed.";
49   
50   
51    /** Error code. */
52    public static final int LOADING_FROM_LOCAL_FILE_FAILED_CODE = 90710;
53   
54    /** Error message. */
55    public static final String LOADING_FROM_LOCAL_FILE_FAILED_TEXT
56    = "Loading module from local file failed.";
57   
58   
59    /** Error code. */
60    public static final int LOADING_FROM_WEB_FAILED_CODE = 90720;
61   
62    /** Error message. */
63    public static final String LOADING_FROM_WEB_FAILED_TEXT
64    = "Loading module from web failed.";
65   
66   
67    /** Error code. */
68    public static final int RECURSIVE_IMPORT_OF_MODULES_IS_FORBIDDEN_CODE = 90722;
69   
70    /** Error message. */
71    public static final String RECURSIVE_IMPORT_OF_MODULES_IS_FORBIDDEN_TEXT
72    = "Recursive import of modules is forbidden, label: ";
73   
74   
75    }