|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Cuenta | +--FondosInversion
Clase FondosInversion que implementa la Clase Cuenta
Field Summary |
Fields inherited from class Cuenta |
Comision, Interes, Saldo, Titular |
Method Summary | |
void |
retirar(int cantidad)
Extrae de la cuenta una cantidad de dinero. |
void |
revision()
Refinamiento de la revision. |
Methods inherited from class Cuenta |
getComision, getSaldo, getTitular, ingresar, setComision, setTitular |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void retirar(int cantidad) throws CuentaBloqueadaException, SinSaldoException
retirar
in class Cuenta
cantidad
- Cantidad a extraer de la cuenta
CuentaBloqueadaException
- Excepción que salta cuando la cuenta ha llegado a su máximo de numeros rojos
SinSaldoException
- Excepción que salta cuando se intenta sacar más cantidad de la que haypublic void revision()
revision
in class Cuenta
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |