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