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 java.net.URISyntaxException ;
21 import org.astrogrid.store.Ivorn ;
22
23 /***
24 * An exception thrown when an invalid identifier is encountered.
25 *
26 */
27 public class CommunityIdentifierException
28 extends CommunityException
29 {
30
31 /***
32 * Public constructor.
33 * This should not be used in the main code.
34 * This enables Axis to re-construct the Exception on the client side by treating it as a Bean.
35 *
36 */
37 public CommunityIdentifierException()
38 {
39 super() ;
40 }
41
42 /***
43 * Public constructor.
44 * @param message The Exception message.
45 *
46 */
47 public CommunityIdentifierException(String message)
48 {
49 super(message) ;
50 }
51
52 /***
53 * Public constructor.
54 * @param cause The root cause of this Exception.
55 *
56 */
57 public CommunityIdentifierException(URISyntaxException cause)
58 {
59 super(cause) ;
60 }
61
62 /***
63 * Public constructor.
64 * @param message The Exception message.
65 * @param cause The root cause of this Exception.
66 *
67 */
68 public CommunityIdentifierException(String message, URISyntaxException cause)
69 {
70 super(message, cause) ;
71 }
72
73 /***
74 * Public constructor.
75 * @param message The Exception message.
76 * @param ident The identifier that caused the Exception.
77 *
78 */
79 public CommunityIdentifierException(String message, String ident)
80 {
81 super(message, ident) ;
82 }
83
84 /***
85 * Public constructor.
86 * @param message The Exception message.
87 * @param ivorn The identifier that caused the Exception.
88 *
89 */
90 public CommunityIdentifierException(String message, Ivorn ivorn)
91 {
92 super(message, ivorn) ;
93 }
94
95 }