01: package com.bostechcorp.cbesb.common.runtime;
02:
03: /**
04: * An exception which represent the ChainBuilder ESB Runtime component
05: * exception related to any kind of Configuration, e.g, invalid user name or password.
06: *
07: *
08: * @author elu
09: *
10: */
11:
12: public class ResourcesConnectionException extends CbesbException {
13:
14: /**
15: *
16: */
17: private static final long serialVersionUID = 1456083950258173691L;
18:
19: /**
20: * Default Constructor
21: */
22: public ResourcesConnectionException() {
23: super ();
24:
25: }
26:
27: /**
28: * @param message
29: * @param remedy
30: * @param cause
31: */
32: public ResourcesConnectionException(String message, String remedy,
33: Throwable cause) {
34: super (message, remedy, cause);
35: }
36:
37: /**
38: * @param message
39: * @param remedy
40: */
41: public ResourcesConnectionException(String message, String remedy) {
42: super (message, remedy);
43: }
44:
45: /**
46: * Constructor.
47: *
48: * @param message
49: * @param cause
50: */
51: public ResourcesConnectionException(String message, Throwable cause) {
52: super (message, cause);
53: }
54:
55: /**
56: * Constructor.
57: *
58: * @param message
59: */
60: public ResourcesConnectionException(String message) {
61: super (message);
62:
63: }
64:
65: /**
66: * Constructor.
67: *
68: * @param cause
69: */
70: public ResourcesConnectionException(Throwable cause) {
71: super (cause);
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: }
|