View Javadoc

1   package org.astrogrid.security;
2   
3   /***
4    * An exception thrown when a check on a credential, e.g. a password, fails.
5    * This application should not be thrown if the account name is also invalid
6    * (throw {@link InvalidAccountException} instead) or if the check fails
7    * because the authentication mechanism breaks (throw
8    * {@link AuthenticatorUnavailableException instead}).
9    *
10   * @author Guy Rixon
11   */
12  public class InvalidCredentialException extends SecurityException {
13  
14    public InvalidCredentialException (String message) {
15      super(message);
16    }
17  
18    public InvalidCredentialException (String message, Throwable t) {
19      super(message, t);
20    }
21  
22  }