1 |
| |
2 |
| |
3 |
| |
4 |
| |
5 |
| |
6 |
| |
7 |
| package org.jboss.cache.config; |
8 |
| |
9 |
| import org.jboss.cache.CacheException; |
10 |
| |
11 |
| import java.util.ArrayList; |
12 |
| import java.util.List; |
13 |
| |
14 |
| |
15 |
| |
16 |
| |
17 |
| |
18 |
| |
19 |
| |
20 |
| |
21 |
| |
22 |
| public class ConfigurationException extends CacheException |
23 |
| { |
24 |
| |
25 |
| private static final long serialVersionUID = -5576382839360927955L; |
26 |
| |
27 |
| private List<String> erroneousAttributes = new ArrayList<String>(); |
28 |
| |
29 |
0
| public ConfigurationException(Exception e)
|
30 |
| { |
31 |
0
| super(e);
|
32 |
| } |
33 |
| |
34 |
6
| public ConfigurationException(String string)
|
35 |
| { |
36 |
6
| super(string);
|
37 |
| } |
38 |
| |
39 |
0
| public ConfigurationException(String string, String erroneousAttribute)
|
40 |
| { |
41 |
0
| super(string);
|
42 |
0
| erroneousAttributes.add(erroneousAttribute);
|
43 |
| } |
44 |
| |
45 |
0
| public ConfigurationException(String string, Throwable throwable)
|
46 |
| { |
47 |
0
| super(string, throwable);
|
48 |
| } |
49 |
| |
50 |
0
| public List<String> getErroneousAttributes()
|
51 |
| { |
52 |
0
| return erroneousAttributes;
|
53 |
| } |
54 |
| |
55 |
0
| public void addErroneousAttribute(String s)
|
56 |
| { |
57 |
0
| erroneousAttributes.add(s);
|
58 |
| } |
59 |
| } |