01: package com.bostechcorp.cbesb.common.runtime;
02:
03: /**
04: * An exception which represent the ChainBuilder ESB Runtime component
05: * exception related to data content.
06: *
07: *
08: * @author elu
09: *
10: */
11:
12: public class ConfigurationException extends CbesbException {
13:
14: /**
15: *
16: */
17: private static final long serialVersionUID = 1456983950258173691L;
18:
19: /**
20: * Default Constructor
21: */
22: public ConfigurationException() {
23: super ();
24:
25: }
26:
27: /**
28: * Constructor.
29: *
30: * @param message
31: * @param cause
32: */
33: public ConfigurationException(String message, Throwable cause) {
34: super (message, cause);
35: }
36:
37: /**
38: * Constructor.
39: *
40: * @param message
41: */
42: public ConfigurationException(String message) {
43: super (message);
44:
45: }
46:
47: /**
48: * Constructor.
49: *
50: * @param cause
51: */
52: public ConfigurationException(Throwable cause) {
53: super (cause);
54: }
55:
56: /**
57: * @param message
58: * @param remedy
59: * @param cause
60: */
61: public ConfigurationException(String message, String remedy,
62: Throwable cause) {
63: super (message, remedy, cause);
64: }
65:
66: /**
67: * @param message
68: * @param remedy
69: */
70: public ConfigurationException(String message, String remedy) {
71: super (message, remedy);
72: }
73:
74: /**
75: * Return a user-friendly message to the end user to help diagnose the problem.
76: * It should be overwriten by child classes.
77: *
78: */
79: public String getFriedlyMessage() {
80: return getMessage();
81: }
82:
83: }
|