1 /* 2 3 Copyright (C) 2001 Renaud Pawlak, Laurent Martelli 4 5 This program is free software; you can redistribute it and/or modify 6 it under the terms of the GNU Lesser General Public License as 7 published by the Free Software Foundation; either version 2 of the 8 License, or (at your option) any later version. 9 10 This program is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU Lesser General Public License for more details. 14 15 You should have received a copy of the GNU Lesser General Public License 16 along with this program; if not, write to the Free Software 17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ 18 19 package org.objectweb.jac.aspects.authentication; 20 21 /** 22 * This exception is thrown when the authentication process fails. 23 * 24 * When the access is denied, the thrown exception is 25 * <code>AccessDeniedException</code>. 26 * 27 * @see AccessDeniedException */ 28 29 public class AuthenticationFailedException extends Exception { 30 31 /** 32 * Constructs a new exception. 33 * 34 * @param reason the reason why the authentication failed */ 35 36 public AuthenticationFailedException(String reason) { 37 super(reason); 38 } 39 40 public AuthenticationFailedException() { 41 } 42 43 } 44 45