1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.astrogrid.community.resolver.exception ;
19
20 import java.net.URL ;
21 import org.astrogrid.store.Ivorn ;
22
23 import org.astrogrid.community.common.exception.CommunityException ;
24
25 /***
26 * An exception thrown when a resolver can't resolve an Ivorn, URL or URI.
27 *
28 */
29 public class CommunityResolverException
30 extends CommunityException
31 {
32
33 /***
34 * Public constructor.
35 * @param message The Exception message.
36 *
37 */
38 public CommunityResolverException(String message)
39 {
40 super(message) ;
41 }
42
43 /***
44 * Public constructor.
45 * @param message The Exception message.
46 * @param cause The root cause of this Exception.
47 *
48 */
49 public CommunityResolverException(String message, Throwable cause)
50 {
51 super(message, cause) ;
52 }
53
54 /***
55 * Public constructor.
56 * @param message The Exception message.
57 * @param ivorn The Service ivorn identifier.
58 *
59 */
60 public CommunityResolverException(String message, Ivorn ivorn)
61 {
62 super(message, ivorn) ;
63 }
64
65 /***
66 * Public constructor.
67 * @param message The Exception message.
68 * @param endpoint The Service endpoint url.
69 *
70 */
71 public CommunityResolverException(String message, URL url)
72 {
73 super(message, url.toString()) ;
74 }
75 }