1/*2 * Copyright 2000-2001,2004 The Apache Software Foundation.3 * 4 * Licensed under the Apache License, Version 2.0 (the "License");5 * you may not use this file except in compliance with the License.6 * You may obtain a copy of the License at7 * 8 * http://www.apache.org/licenses/LICENSE-2.09 * 10 * Unless required by applicable law or agreed to in writing, software11 * distributed under the License is distributed on an "AS IS" BASIS,12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13 * See the License for the specific language governing permissions and14 * limitations under the License.15 */1617packageorg.apache.jetspeed.services.security;
1819/***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 */28publicclassFailedLoginExceptionextendsLoginException {
2930/***31 * Constructs a FailedLoginException with no detail message. A detail32 * message is a String that describes this particular exception.33 */34publicFailedLoginException() {
35super();
36 }
3738/***39 * Constructs a FailedLoginException with the specified detail40 * message. A detail message is a String that describes this particular41 * exception.42 *43 * <p>44 *45 * @param msg the detail message. 46 */47publicFailedLoginException(String msg) {
48super(msg);
49 }
5051/***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 */58publicFailedLoginException( String msg, Throwable nested )
59 {
60super(msg, nested);
61 }
6263 }