public CreditCard(Date expirationDate,
            String nameOnCard,
            int cardNumber,
            int securityNumber) throws IllegalArgumentException
    {
        boolean validInfo =  validateCreditCardNumber(cardNumber)
                && validateSecurityNumber(securityNumber)
                && validateCreditCardInformation();
        if (validInfo)
        {
            this.expirationDate = expirationDate;
            this.nameOnCard = nameOnCard;
            this.cardNumber = cardNumber;
            this.securityNumber = securityNumber;            
        }
        else
        {
            throw new IllegalArgumentException("Credit Card Information are not valid");
        }
    }