View Javadoc

1   /*
2    * <cvs:source>$Source: /devel/astrogrid/community/resolver/src/java/org/astrogrid/community/resolver/exception/CommunityResolverException.java,v $</cvs:source>
3    * <cvs:author>$Author: dave $</cvs:author>
4    * <cvs:date>$Date: 2004/06/18 13:45:20 $</cvs:date>
5    * <cvs:version>$Revision: 1.5 $</cvs:version>
6    *
7    * <cvs:log>
8    *   $Log: CommunityResolverException.java,v $
9    *   Revision 1.5  2004/06/18 13:45:20  dave
10   *   Merged development branch, dave-dev-200406081614, into HEAD
11   *
12   *   Revision 1.4.32.1  2004/06/17 13:38:59  dave
13   *   Tidied up old CVS log entries
14   *
15   * </cvs:log>
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      }