org.apache.cocoon.auth
Class AuthenticationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.cocoon.auth.AuthenticationException
All Implemented Interfaces:
Serializable

public class AuthenticationException
extends Exception

This exception is thrown by a SecurityHandler if the authentication fails.

Version:
$Id: AuthenticationException.java 587757 2007-10-24 02:52:49Z vgritsenko $
See Also:
Serialized Form

Field Summary
static int AUTHENTICATION_FAILED
           
static int AUTHENTICATION_FAILED_ACCOUNT_CLOSED
           
static int AUTHENTICATION_FAILED_ACCOUNT_IS_CLOSED
           
static int AUTHENTICATION_FAILED_PASSWORD_EXPIRED
           
protected  int errorCode
           
 
Constructor Summary
AuthenticationException()
           
AuthenticationException(int s)
           
AuthenticationException(int s, Throwable cause)
           
AuthenticationException(String message)
           
AuthenticationException(String message, int s)
           
AuthenticationException(String message, int s, Throwable cause)
           
AuthenticationException(String message, Throwable cause)
           
AuthenticationException(Throwable cause)
           
 
Method Summary
 int getErrorCode()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AUTHENTICATION_FAILED

public static final int AUTHENTICATION_FAILED
See Also:
Constant Field Values

AUTHENTICATION_FAILED_ACCOUNT_CLOSED

public static final int AUTHENTICATION_FAILED_ACCOUNT_CLOSED
See Also:
Constant Field Values

AUTHENTICATION_FAILED_ACCOUNT_IS_CLOSED

public static final int AUTHENTICATION_FAILED_ACCOUNT_IS_CLOSED
See Also:
Constant Field Values

AUTHENTICATION_FAILED_PASSWORD_EXPIRED

public static final int AUTHENTICATION_FAILED_PASSWORD_EXPIRED
See Also:
Constant Field Values

errorCode

protected int errorCode
Constructor Detail

AuthenticationException

public AuthenticationException()

AuthenticationException

public AuthenticationException(String message,
                               Throwable cause)

AuthenticationException

public AuthenticationException(String message)

AuthenticationException

public AuthenticationException(Throwable cause)

AuthenticationException

public AuthenticationException(int s)

AuthenticationException

public AuthenticationException(String message,
                               int s,
                               Throwable cause)

AuthenticationException

public AuthenticationException(String message,
                               int s)

AuthenticationException

public AuthenticationException(int s,
                               Throwable cause)
Method Detail

getErrorCode

public int getErrorCode()


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.