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