FileDocCategorySizeDatePackage
Account3.javaAPI DocExample532Thu Nov 08 00:22:34 GMT 2001com.ora.rmibook.chapter12.bank

Account3.java

package com.ora.rmibook.chapter12.bank;


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


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