1    package com.instantbank.common.utilcomponents;
2    
3    
4    /**
5     *  This class is the central location to store exception messages
6     *  of servicing ear
7     *
8     * @author Instant-bank
9     * (Consuelo Franky, Roberto Contreras, Rodrigo Lopez, Jorge Cardenas)
10    * @created September 2002
11    */
12   public interface ServicingExceptionMessage {
13   
14     // Controller problems:
15   
16     public static final String NOT_MODEL_MANAGER
17        = "Notify the administrator: cannot create bean of class ModelManage: ";
18   
19     public static final String HANDLER_NOT_KNOWN
20        = "Notify the administrator: handler not known: ";
21   
22     public static final String HANDLER_NOT_LOAD
23        = "Notify the administrator: exception loading handler: ";
24   
25     public static final String NULL_ANSWER
26        = "Notify the administrator: error obtaining answer to the service.";
27   
28     public static final String EVENT_NOT_KNOWN
29        = "Notify the administrator: Unknown event: ";
30   
31     public static final String NOT_SCREENMANAGER
32        = "Notify the administrator: error extracting screenManager from session: ";
33   
34     // all usecases:
35   
36     public static final String SERVICE_NOT_SELECTED
37        = "Service not selected by user ";
38   
39     public static final String PROBLEM_PARSING
40        = "Problem parsing user data: ";
41   
42     public static final String RETRY
43        = ". Retry.";
44   
45     public static final String ITEM_STATUS_INVALID
46        = "Invalid status of an item for inserting/deleting/updating in the database: ";
47   
48     public static final String PROBLEM_INSTANTIATING_PARAMETER_EJB
49        = "Problem instantiating Parameter EJB: ";
50   
51     // usecase parmLevelsName :
52   
53     public static final String PROBLEM_LOAD_PARM_LEVELS_NAME
54        = "Problem loading parameter levels name: ";
55   
56     public static final String PROBLEM_APPLYING_UPDATES_PARM_NAMES
57        = "A problem happened aplying updates to parameter levels name: <br>";
58   
59     public static final String PROBLEM_APPLYING_CHANGES_PARM_NAMES
60        = "A problem happened aplying changes to parameter levels name: <br>";
61   
62     // usecase ParamLevel1Values :
63   
64     public static final String PROBLEM_LOAD_PARAM_LEVEL1_VALUES
65        = "Problem loading parameters of level 1 values: ";
66   
67     public static final String PROBLEM_APPLYING_CHANGES_PARAM_LEVEL1_VALUES
68        = "The list above shows current parameters level 1 values. <br>"
69       + "A problem happened aplying changes to parameters level 1 values: <br>";
70   
71     public static final String PROBLEM_APPLYING_INSERTS_PARAM_LEVEL1_VALUES
72        = "The list above shows current parameters level 1 values. <br>"
73       + "A problem happened inserting parameters level 1 values: <br>";
74   
75     public static final String PROBLEM_APPLYING_DELETES1_PARAM_LEVEL1_VALUES
76        = "Probably the parameter level 1 value was deleted by another user: <br>";
77   
78     public static final String PROBLEM_APPLYING_DELETES2_PARAM_LEVEL1_VALUES
79        = "The list above shows current parameters level 1 values. <br>"
80       + "A problem happened deleting parameters level 1 values: <br>";
81   
82     public static final String PROBLEM_APPLYING_UPDATES1_PARAM_LEVEL1_VALUES
83        = "Probably the parameter level 1 value was deleted by another user: <br>";
84   
85     public static final String PROBLEM_APPLYING_UPDATES2_PARAM_LEVEL1_VALUES
86        = "The list above shows current parameters level 1 values. <br>"
87       + "A Problem happened updating parameters level 1 values: <br>";
88   
89     // usecase ParamLevel2Values :
90   
91     public static final String PROBLEM_LOAD_PARAM_LEVEL2_VALUES
92        = "Problem loading parameters of level 2 values: ";
93   
94     public static final String PROBLEM_APPLYING_CHANGES_PARAM_LEVEL2_VALUES
95        = "The list above shows current parameters level 2 values. <br>"
96       + "A problem happened aplying changes to parameters level 2 values: <br>";
97   
98     public static final String PROBLEM_APPLYING_INSERTS_PARAM_LEVEL2_VALUES
99        = "The list above shows current parameters level 2 values. <br>"
100      + "A problem happened inserting parameters level 2 values: <br>";
101  
102    public static final String PROBLEM_APPLYING_DELETES1_PARAM_LEVEL2_VALUES
103       = "Probably the parameter level 2 value was deleted by another user: <br>";
104  
105    public static final String PROBLEM_APPLYING_DELETES2_PARAM_LEVEL2_VALUES
106       = "The list above shows current parameters level 2 values. <br>"
107      + "A problem happened deleting parameters level 2 values: <br>";
108  
109    public static final String PROBLEM_APPLYING_UPDATES1_PARAM_LEVEL2_VALUES
110       = "Probably the parameter level 2 value was deleted by another user: <br>";
111  
112    public static final String PROBLEM_APPLYING_UPDATES2_PARAM_LEVEL2_VALUES
113       = "The list above shows current parameters level 2 values. <br>"
114      + "A Problem happened updating parameters level 2 values: <br>";
115  
116    // usecase ParamSearchValues:
117  
118    public static final String PROBLEM_LOAD_PARM_SEARCH_VALUES
119       = "Problem loading parameters search values: ";
120  
121    public static final String PROBLEM_APPLYING_UPDATES_PARM_SEARCH_VALUES
122       = "A problem happened aplying updates to parameters search values: <br>";
123  
124    public static final String PROBLEM_APPLYING_CHANGES_PARM_SEARCH_VALUES
125       = "A problem happened aplying changes to parameters search values: <br>";
126  
127  // usecase ParmRestrictions
128  
129    public static final String PROBLEM_LOAD_PARAM_RESTRICTIONS
130       = "Problem loading parameters restrictions: ";
131  
132    public static final String PROBLEM_APPLYING_UPDATES_PARAM_RESTRICTIONS
133       = "A problem happened aplying updates to parameters restrictions: <br>";
134  
135  // usecase SetParameterValue
136  
137    public static final String PROBLEM_LOAD_PARAMETER_VALUE
138       = "Problem loading the set parameter value: ";
139  
140    public static final String PROBLEM_APPLYING_UPDATES_PARAMETER_VALUE
141       = "A problem happened aplying updates to parameter values: <br>";
142  
143  }
144  
145