com.bankframe.services.accesscontrol
Class AccessControlException

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.accesscontrol.AccessControlException
All Implemented Interfaces:
java.io.Serializable

public class AccessControlException
extends ProcessingErrorException

This class is an excpetion that is thrown when a user tries to access a prohibited service.

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
AccessControlException(int errorNumber)
          Constructor to create an Access Control error exception given an error number.
AccessControlException(int errorNumber, java.lang.String[] params)
          Constructor to create an Access Control error exception given an error number and parameters for the error message.
 
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

AccessControlException

public AccessControlException(int errorNumber)
Constructor to create an Access Control error exception given an error number.

Parameters:
errorNumber - a key into the messages file.

AccessControlException

public AccessControlException(int errorNumber,
                              java.lang.String[] params)
Constructor to create an Access Control error exception given an error number and parameters for the error message.

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

toDataPacket

public DataPacket toDataPacket()
This method returns a DataPacket that represents this exception. The DataPacket will have the name ACCESS CONTROL EXCEPTION.

Overrides:
toDataPacket in class ProcessingErrorException
Returns:
a DataPacket containing the processing error exception data


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