com.bankframe.services.accesscontrol
Class AccessControlException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.bankframe.localization.BankFrameException
com.bankframe.EonException
com.bankframe.ejb.ProcessingErrorException
com.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
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. |
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 |
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.
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.