|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.bankframe.localization.BankFrameException
com.bankframe.EonException
com.bankframe.ejb.ProcessingErrorException
com.bankframe.services.authentication.AuthenticationException
public class AuthenticationException
This class is the exception class used if an attempt to authenticate a user fails.
| 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,
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,
String[] params)
This constructor is used to create an Authentication Exception given an error number and parameters for the error message. |
|
AuthenticationException(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 |
|---|
public AuthenticationException(int errorNumber)
errorNumber - Error number is a key into the messages file.
public AuthenticationException(int errorNumber,
String[] params)
errorNumber - the error number is a key into the messages file.params - an array of parameters to be substituted into the error messagepublic AuthenticationException(BankFrameMessage msg)
msg - The exception message.
public AuthenticationException(BankFrameMessage message,
Throwable cause)
message - the error message for the exceptioncause - the original cause of this AuthenticationException. must not be null.public AuthenticationException(Throwable cause)
cause - The original cause of the exception. cause must not be null.| Method Detail |
|---|
public DataPacket toDataPacket()
toDataPacket in class ProcessingErrorException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||