com.bankframe.services.authentication
Class AuthenticationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.bankframe.localization.BankFrameException
              extended bycom.bankframe.EonException
                  extended bycom.bankframe.ejb.ProcessingErrorException
                      extended bycom.bankframe.services.authentication.AuthenticationException
All Implemented Interfaces:
java.io.Serializable

public class AuthenticationException
extends ProcessingErrorException

This class is the exception class used if an attempt to authenticate a user fails.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.bankframe.EonException
DEBUG
 
Fields inherited from class com.bankframe.localization.BankFrameException
CHAINED_EXCEPTION_DIVIDER, CHAINED_JAVA_EXCEPTION_MSG, EXCEPTION_CLASS_NAME, EXCEPTION_NAME
 
Constructor Summary
AuthenticationException(BankFrameMessage msg)
          This constructor creates a AuthenticationException with the specified message.
AuthenticationException(BankFrameMessage message, java.lang.Throwable cause)
          Constructor

NOTE: The detail message associated with cause is not automatically incorporated in this exception's detail message.
AuthenticationException(int errorNumber)
          This constructor is used to create an AuthenticationException given an error number.
AuthenticationException(int errorNumber, java.lang.String[] params)
          This constructor is used to create an Authentication Exception given an error number and parameters for the error message.
AuthenticationException(java.lang.Throwable cause)
          This constructor creates a chained exception.
 
Method Summary
 DataPacket toDataPacket()
          This method returns a DataPacket that represents this exception.
 
Methods inherited from class com.bankframe.EonException
fromEonException, fromException, getMessage
 
Methods inherited from class com.bankframe.localization.BankFrameException
getBankFrameMessage, getCause, getMessage, initCause, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthenticationException

public AuthenticationException(int errorNumber)
This constructor is used to create an AuthenticationException given an error number.

Parameters:
errorNumber - Error number is a key into the messages file.

AuthenticationException

public AuthenticationException(int errorNumber,
                               java.lang.String[] params)
This constructor is used to create an Authentication Exception given an error number and parameters for the error message.

Parameters:
errorNumber - the error number is a key into the messages file.
params - an array of parameters to be substituted into the error message

AuthenticationException

public AuthenticationException(BankFrameMessage msg)
This constructor creates a AuthenticationException with the specified message.

Parameters:
msg - The exception message.

AuthenticationException

public AuthenticationException(BankFrameMessage message,
                               java.lang.Throwable cause)
Constructor

NOTE: The detail message associated with cause is not automatically incorporated in this exception's detail message.

Parameters:
message - the error message for the exception
cause - the original cause of this AuthenticationException. must not be null.

AuthenticationException

public AuthenticationException(java.lang.Throwable cause)
This constructor creates a chained exception.

Parameters:
cause - The original cause of the exception. cause must not be null.
Method Detail

toDataPacket

public DataPacket toDataPacket()
This method returns a DataPacket that represents this exception.

Overrides:
toDataPacket in class ProcessingErrorException
Returns:
a DataPacket with the name AUTHENTICATION EXCEPTION and containing the processing error exception data


Copyright © 2005, 2007, Oracle. All rights reserved.