FileDocCategorySizeDatePackage
PositiveMoney.javaAPI DocExample419Thu Nov 08 00:23:44 GMT 2001com.ora.rmibook.chapter23.rmiiiopaccounts.valueobjects

PositiveMoney

public class PositiveMoney extends Money

Fields Summary
Constructors Summary
public PositiveMoney(Integer cents)

        this (cents.intValue());
    
public PositiveMoney(int cents)

        super (cents);
        if (_cents <= 0) {
            throw new Exception("Bad Value for Money");
        }
        return;
    
Methods Summary