View Javadoc

1   /*
2    * <cvs:source>$Source: /devel/astrogrid/community/common/src/java/org/astrogrid/community/common/exception/CommunityPolicyException.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.4 $</cvs:version>
6    *
7    * <cvs:log>
8    *   $Log: CommunityPolicyException.java,v $
9    *   Revision 1.4  2004/06/18 13:45:20  dave
10   *   Merged development branch, dave-dev-200406081614, into HEAD
11   *
12   *   Revision 1.3.36.1  2004/06/17 13:38:58  dave
13   *   Tidied up old CVS log entries
14   *
15   * </cvs:log>
16   *
17   */
18  package org.astrogrid.community.common.exception ;
19  
20  import org.astrogrid.store.Ivorn ;
21  
22  /***
23   * A base class for policy Exceptions.
24   *
25   */
26  public class CommunityPolicyException
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 CommunityPolicyException()
37          {
38          super() ;
39          }
40  
41      /***
42       * Public constructor.
43       * @param message The Exception message.
44       * @param account The Account identifier that caused the Exception.
45       *
46       */
47      public CommunityPolicyException(String message, String account)
48          {
49          super(
50              message,
51              account
52              ) ;
53          }
54  
55      /***
56       * Public constructor.
57       * @param message The Exception message.
58       * @param account The Account identifier that caused the Exception.
59       *
60       */
61      public CommunityPolicyException(String message, Ivorn account)
62          {
63          super(
64              message,
65              account
66              ) ;
67          }
68  
69      }
70