1 /* 2 * @(#)AccountLockedException.java 1.2 03/12/19 3 * 4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 package javax.security.auth.login; 9 10 /** 11 * Signals that an account was locked. 12 * 13 * <p> This exception may be thrown by a LoginModule if it 14 * determines that authentication is being attempted on a 15 * locked account. 16 * 17 * @version 1.2, 12/19/03 18 * @since 1.5 19 */ 20 public class AccountLockedException extends AccountException { 21 22 private static final long serialVersionUID = 8280345554014066334L; 23 24 /** 25 * Constructs a AccountLockedException with no detail message. 26 * A detail message is a String that describes this particular exception. 27 */ 28 public AccountLockedException() { 29 super(); 30 } 31 32 /** 33 * Constructs a AccountLockedException with the specified 34 * detail message. A detail message is a String that describes 35 * this particular exception. 36 * 37 * <p> 38 * 39 * @param msg the detail message. 40 */ 41 public AccountLockedException(String msg) { 42 super(msg); 43 } 44 } 45