KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > continuent > sequoia > common > exceptions > AuthenticationException


1 /**
2  * Sequoia: Database clustering technology.
3  * Copyright (C) 2005 Emic Networks.
4  * Contact: sequoia@continuent.org
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  * Initial developer(s): Emmanuel Cecchet.
19  * Contributor(s): ______________________.
20  */

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

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

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

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

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

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