FileDocCategorySizeDatePackage
Account.javaAPI DocExample598Thu Nov 08 00:22:52 GMT 2001com.ora.rmibook.chapter15.bank

Account.java

package com.ora.rmibook.chapter15.bank;


import com.ora.rmibook.chapter15.bank.valueobjects.*;
import java.rmi.*;


public interface Account extends Remote {
    public Money getBalance(String clientIDNumber)
        throws RemoteException, LockedAccountException;
    public void makeDeposit(String clientIDNumber, Money amount)
        throws RemoteException, NegativeAmountException, LockedAccountException;
    public void makeWithdrawal(String clientIDNumber, Money amount)
        throws RemoteException, OverdraftException, LockedAccountException, NegativeAmountException;
}