/** * Make a deposit to this account * @param depositAmount amount to deposit in pennies */ public void deposit( long depositAmount ) throws BankingException { if ( depositAmount < 0 ) { throw new BankingException( "Negative deposits should be handled as corrections or withdrawals" ): } this.balance += depositAmount; }