01: /*
02: * The contents of this file are subject to the
03: * Mozilla Public License Version 1.1 (the "License");
04: * you may not use this file except in compliance with the License.
05: * You may obtain a copy of the License at http://www.mozilla.org/MPL/
06: *
07: * Software distributed under the License is distributed on an "AS IS"
08: * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
09: * See the License for the specific language governing rights and
10: * limitations under the License.
11: *
12: * The Initial Developer of the Original Code is Simulacra Media Ltd.
13: * Portions created by Simulacra Media Ltd are Copyright (C) Simulacra Media Ltd, 2004.
14: *
15: * All Rights Reserved.
16: *
17: * Contributor(s):
18: */
19:
20: package org.openharmonise.rm.security.authentication;
21:
22: import org.openharmonise.rm.HarmoniseException;
23:
24: /**
25: * This exception class will be thrown by <code>UserAuthenticator</code>
26: * implementations.
27: *
28: * @author Michael Bell
29: * @version $Revision: 1.2 $
30: *
31: */
32: public class UserAuthenticationException extends HarmoniseException {
33:
34: /**
35: * Creates new exception class
36: *
37: */
38: public UserAuthenticationException() {
39: super ();
40: }
41:
42: /**
43: * Creates new exception class with a message.
44: *
45: * @param s
46: */
47: public UserAuthenticationException(String s) {
48: super (s);
49: }
50:
51: /**
52: * Creates new exception class with a message and a cause.
53: *
54: * @param s
55: * @param e
56: */
57: public UserAuthenticationException(String s, Throwable e) {
58: super (s, e);
59: }
60:
61: /**
62: * Creates new exception class with a cause.
63: *
64: * @param s
65: * @param e
66: */
67: public UserAuthenticationException(Throwable e) {
68: super(e);
69: }
70: }
|