01: /**
02: * Sequoia: Database clustering technology.
03: * Copyright (C) 2005 Emic Networks.
04: * Contact: sequoia@continuent.org
05: *
06: * Licensed under the Apache License, Version 2.0 (the "License");
07: * you may not use this file except in compliance with the License.
08: * You may obtain a copy of the License at
09: *
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: */package org.continuent.sequoia.common.exceptions;
21:
22: /**
23: * This class defines an AuthenticationException in case the authentication with
24: * the controller fails.
25: *
26: * @author <a href="mailto:emmanuel.cecchet@emicnetworks.com">Emmanuel Cecchet
27: * </a>
28: * @version 1.0
29: */
30: public class AuthenticationException extends SequoiaException {
31: private static final long serialVersionUID = 933382937208867189L;
32:
33: /**
34: * Creates a new <code>AuthenticationException</code> object
35: */
36: public AuthenticationException() {
37: super ();
38: }
39:
40: /**
41: * Creates a new <code>AuthenticationException</code> object
42: *
43: * @param message the error message
44: */
45: public AuthenticationException(String message) {
46: super (message);
47: }
48:
49: /**
50: * Creates a new <code>AuthenticationException</code> object
51: *
52: * @param cause the root cause
53: */
54: public AuthenticationException(Throwable cause) {
55: super (cause);
56: }
57:
58: /**
59: * Creates a new <code>AuthenticationException</code> object
60: *
61: * @param message the error message
62: * @param cause the root cause
63: */
64: public AuthenticationException(String message, Throwable cause) {
65: super(message, cause);
66: }
67:
68: }
|