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 * A base class for security Exceptions.
24 *
25 */
26 public class CommunitySecurityException
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 CommunitySecurityException()
37 {
38 super() ;
39 }
40
41 /***
42 * Public constructor.
43 * @param message The Exception message.
44 *
45 */
46 public CommunitySecurityException(String message)
47 {
48 super(
49 message
50 ) ;
51 }
52
53 /***
54 * Public constructor.
55 * @param message The Exception message.
56 * @param ident The identifier that caused the Exception.
57 *
58 */
59 public CommunitySecurityException(String message, String ident)
60 {
61 super(
62 message,
63 ident
64 ) ;
65 }
66
67 /***
68 * Public constructor.
69 * @param message The Exception message.
70 * @param account The identifier that caused the Exception.
71 *
72 */
73 public CommunitySecurityException(String message, Ivorn ident)
74 {
75 super(
76 message,
77 ident
78 ) ;
79 }
80 }
81