KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > cjdbc > common > exceptions > AuthenticationException


1 /**
2  * C-JDBC: Clustered JDBC.
3  * Copyright (C) 2005 Emic Networks.
4  * Contact: c-jdbc@objectweb.org
5  *
6  * This library is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU Lesser General Public License as published by the
8  * Free Software Foundation; either version 2.1 of the License, or any later
9  * version.
10  *
11  * This library is distributed in the hope that it will be useful, but WITHOUT
12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
14  * for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public License
17  * along with this library; if not, write to the Free Software Foundation,
18  * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
19  *
20  * Initial developer(s): Emmanuel Cecchet.
21  * Contributor(s): ______________________.
22  */

23
24 package org.objectweb.cjdbc.common.exceptions;
25
26 /**
27  * This class defines an AuthenticationException in case the authentication with
28  * the controller fails.
29  *
30  * @author <a HREF="mailto:emmanuel.cecchet@emicnetworks.com">Emmanuel Cecchet
31  * </a>
32  * @version 1.0
33  */

34 public class AuthenticationException extends CJDBCException
35 {
36   private static final long serialVersionUID = 933382937208867189L;
37
38   /**
39    * Creates a new <code>AuthenticationException</code> object
40    */

41   public AuthenticationException()
42   {
43     super();
44   }
45
46   /**
47    * Creates a new <code>AuthenticationException</code> object
48    *
49    * @param message the error message
50    */

51   public AuthenticationException(String JavaDoc message)
52   {
53     super(message);
54   }
55
56   /**
57    * Creates a new <code>AuthenticationException</code> object
58    *
59    * @param cause the root cause
60    */

61   public AuthenticationException(Throwable JavaDoc cause)
62   {
63     super(cause);
64   }
65
66   /**
67    * Creates a new <code>AuthenticationException</code> object
68    *
69    * @param message the error message
70    * @param cause the root cause
71    */

72   public AuthenticationException(String JavaDoc message, Throwable JavaDoc cause)
73   {
74     super(message, cause);
75   }
76
77 }
78
Popular Tags