Line | |
---|
1 | package com.bowman.cardserv;
|
---|
2 |
|
---|
3 | /**
|
---|
4 | * Created by IntelliJ IDEA.
|
---|
5 | * User: bowman
|
---|
6 | * Date: Oct 8, 2005
|
---|
7 | * Time: 4:31:14 PM
|
---|
8 | */
|
---|
9 | public class ConfigException extends Exception {
|
---|
10 |
|
---|
11 | private String label, subLabel;
|
---|
12 |
|
---|
13 | public ConfigException(String msg) {
|
---|
14 | super(msg);
|
---|
15 | }
|
---|
16 |
|
---|
17 | public ConfigException(String msg, Throwable nestedException) {
|
---|
18 | super(msg, nestedException);
|
---|
19 | }
|
---|
20 |
|
---|
21 | public ConfigException(String label, String msg) {
|
---|
22 | super(msg);
|
---|
23 | this.label = label;
|
---|
24 | }
|
---|
25 |
|
---|
26 | public ConfigException(String label, String subLabel, String msg) {
|
---|
27 | super(msg);
|
---|
28 | this.label = label;
|
---|
29 | this.subLabel = subLabel;
|
---|
30 | }
|
---|
31 |
|
---|
32 | public ConfigException(String label, String msg, Throwable nestedException) {
|
---|
33 | super(msg, nestedException);
|
---|
34 | this.label = label;
|
---|
35 | }
|
---|
36 |
|
---|
37 | public ConfigException(String label, String subLabel, String msg, Throwable nestedException) {
|
---|
38 | super(msg, nestedException);
|
---|
39 | this.label = label;
|
---|
40 | this.subLabel = subLabel;
|
---|
41 | }
|
---|
42 |
|
---|
43 | public String getLabel() {
|
---|
44 | return label;
|
---|
45 | }
|
---|
46 |
|
---|
47 | public String getSubLabel() {
|
---|
48 | return subLabel;
|
---|
49 | }
|
---|
50 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.