1 /* 2 * @(#)LoginException.java 1.16 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 * This is the basic login exception. 12 * 13 * @version 1.16, 12/19/03 14 * @see javax.security.auth.login.LoginContext 15 */ 16 17 public class LoginException extends java.security.GeneralSecurityException { 18 19 private static final long serialVersionUID = -4679091624035232488L; 20 21 /** 22 * Constructs a LoginException with no detail message. A detail 23 * message is a String that describes this particular exception. 24 */ 25 public LoginException() { 26 super(); 27 } 28 29 /** 30 * Constructs a LoginException with the specified detail message. 31 * A detail message is a String that describes this particular 32 * exception. 33 * 34 * <p> 35 * 36 * @param msg the detail message. 37 */ 38 public LoginException(String msg) { 39 super(msg); 40 } 41 } 42