AccountDepositException

 

AccountDepositException.java defines a catchable exception class for use with bank account classes and is used to indicate a negative deposit amount. This class extends AccountException.

 

public AccountDepositException (String reason)

Constructor for the exception

Recieves: As string with the reason for the exception.

Postcondition: The exception has been constructed.

 


Back to the package documentation index


Back to the Introduction


Copyright 2000 by Prentice Hall. All rights reserved.