1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.astrogrid.community.common.exception ;
19
20 import org.astrogrid.store.Ivorn ;
21
22 /***
23 * An exception thrown when a service fails.
24 *
25 */
26 public class CommunityServiceException
27 extends CommunityException
28 {
29
30 /***
31 * Public constructor.
32 * This should not be used in the main code.
33 * This enables Axis to re-construct the Exception on the client side by treating it as a Bean.
34 *
35 */
36 public CommunityServiceException()
37 {
38 super() ;
39 }
40
41 /***
42 * Public constructor.
43 * @param message The Exception message.
44 *
45 */
46 public CommunityServiceException(String message)
47 {
48 super(message) ;
49 }
50
51 /***
52 * Public constructor.
53 * @param cause The root cause of this Exception.
54 *
55 */
56 public CommunityServiceException(Throwable cause)
57 {
58 super(cause) ;
59 }
60
61 /***
62 * Public constructor.
63 * @param message The Exception message.
64 * @param cause The root cause of this Exception.
65 *
66 */
67 public CommunityServiceException(String message, Throwable cause)
68 {
69 super(message, cause) ;
70 }
71
72 /***
73 * Public constructor.
74 * @param message The Exception message.
75 * @param ident The identifier that caused the Exception.
76 *
77 */
78 public CommunityServiceException(String message, String ident)
79 {
80 super(message, ident) ;
81 }
82
83 /***
84 * Public constructor.
85 * @param message The Exception message.
86 * @param ident The identifier that caused the Exception.
87 * @param cause The root cause of this Exception.
88 *
89 */
90 public CommunityServiceException(String message, String ident, Throwable cause)
91 {
92 super(message, ident) ;
93 }
94
95 /***
96 * Public constructor.
97 * @param message The Exception message.
98 * @param ivorn The identifier that caused the Exception.
99 *
100 */
101 public CommunityServiceException(String message, Ivorn ivorn)
102 {
103 super(message, ivorn) ;
104 }
105
106 /***
107 * Public constructor.
108 * @param message The Exception message.
109 * @param ivorn The identifier that caused the Exception.
110 * @param cause The root cause of this Exception.
111 *
112 */
113 public CommunityServiceException(String message, Ivorn ivorn, Throwable cause)
114 {
115 super(message, ivorn) ;
116 }
117
118 }