1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
package com.xpn.xwiki.plugin.scheduler; |
21 |
|
|
22 |
|
import com.xpn.xwiki.plugin.PluginException; |
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
@version |
28 |
|
|
|
|
| 0% |
Uncovered Elements: 6 (6) |
Complexity: 3 |
Complexity Density: 1 |
|
29 |
|
public class SchedulerPluginException extends PluginException |
30 |
|
{ |
31 |
|
protected static final int ERROR_SCHEDULERPLUGIN_SAVE_JOB_CLASS = 90000; |
32 |
|
|
33 |
|
protected static final int ERROR_SCHEDULERPLUGIN_INITIALIZE_STATUS_LISTENER = 90001; |
34 |
|
|
35 |
|
protected static final int ERROR_SCHEDULERPLUGIN_PAUSE_JOB = 90002; |
36 |
|
|
37 |
|
protected static final int ERROR_SCHEDULERPLUGIN_RESUME_JOB = 90003; |
38 |
|
|
39 |
|
protected static final int ERROR_SCHEDULERPLUGIN_SCHEDULE_JOB = 90004; |
40 |
|
|
41 |
|
protected static final int ERROR_SCHEDULERPLUGIN_BAD_CRON_EXPRESSION = 90005; |
42 |
|
|
43 |
|
protected static final int ERROR_SCHEDULERPLUGIN_JOB_XCLASS_NOT_FOUND = 90006; |
44 |
|
|
45 |
|
protected static final int ERROR_SCHEDULERPLUGIN_JOB_DOES_NOT_EXITS = 90007; |
46 |
|
|
47 |
|
protected static final int ERROR_SCHEDULERPLUGIN_GET_SCHEDULER = 90007; |
48 |
|
|
49 |
|
protected static final int ERROR_SCHEDULERPLUGIN_RESTORE_JOB = 90008; |
50 |
|
|
51 |
|
protected static final int ERROR_SCHEDULERPLUGIN_RESTORE_EXISTING_JOBS = 90009; |
52 |
|
|
53 |
|
protected static final int ERROR_SCHEDULERPLUGIN_UNABLE_TO_RETRIEVE_JOB = 90010; |
54 |
|
|
55 |
|
protected static final int ERROR_SCHEDULERPLUGIN_UNABLE_TO_PREPARE_JOB_CONTEXT = 90011; |
56 |
|
|
57 |
|
protected static final int ERROR_SCHEDULERPLUGIN_TRIGGER_JOB = 90012; |
58 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
59 |
0 |
public SchedulerPluginException(int code, String message)... |
60 |
|
{ |
61 |
0 |
super(SchedulerPlugin.class, code, message); |
62 |
|
} |
63 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
64 |
0 |
public SchedulerPluginException(int code, String message, Throwable e, Object[] args)... |
65 |
|
{ |
66 |
0 |
super(SchedulerPlugin.class, code, message, e, args); |
67 |
|
} |
68 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
69 |
0 |
public SchedulerPluginException(int code, String message, Throwable e)... |
70 |
|
{ |
71 |
0 |
super(SchedulerPlugin.class, code, message, e); |
72 |
|
} |
73 |
|
} |