1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.jetspeed.services.security;
18
19 /***
20 * Signals that user authentication failed.
21 *
22 * <p> This exception is thrown by security providers if authentication failed.
23 * For example, the provider throws this exception if the user entered an incorrect password.
24 *
25 * @author <a href="mailto:david@bluesunrise.com">David Sean Taylor</a>
26 * @version $Id: FailedLoginException.java,v 1.3 2004/02/23 03:58:11 jford Exp $
27 */
28 public class FailedLoginException extends LoginException {
29
30 /***
31 * Constructs a FailedLoginException with no detail message. A detail
32 * message is a String that describes this particular exception.
33 */
34 public FailedLoginException() {
35 super();
36 }
37
38 /***
39 * Constructs a FailedLoginException with the specified detail
40 * message. A detail message is a String that describes this particular
41 * exception.
42 *
43 * <p>
44 *
45 * @param msg the detail message.
46 */
47 public FailedLoginException(String msg) {
48 super(msg);
49 }
50
51 /***
52 * Construct a nested exception.
53 *
54 * @param msg The detail message.
55 * @param nested the exception or error that caused this exception
56 * to be thrown.
57 */
58 public FailedLoginException( String msg, Throwable nested )
59 {
60 super(msg, nested);
61 }
62
63 }