private void checkParameters(EntryType totalPaymentEntryType, EntryType parcialPaymentEntryType, BigDecimal totalAmount) { if (totalPaymentEntryType == null) { throw new DomainException( "error.net.sourceforge.fenixedu.domain.accounting.postingRules.GenericWithParcialPaymentsPR.totalPaymentEntryType.cannot.be.null"); }  if (parcialPaymentEntryType == null) { throw new DomainException( "error.net.sourceforge.fenixedu.domain.accounting.postingRules.GenericWithParcialPaymentsPR.parcialPaymentEntryType.cannot.be.null"); }
private void checkParameters(BigDecimal totalAmount) {
    private void checkParameters(EntryType totalPaymentEntryType, EntryType parcialPaymentEntryType,	    BigDecimal totalAmount) {	if (totalPaymentEntryType == null) {	    throw new DomainException(		    "error.net.sourceforge.fenixedu.domain.accounting.postingRules.GenericWithParcialPaymentsPR.totalPaymentEntryType.cannot.be.null");	}	if (parcialPaymentEntryType == null) {	    throw new DomainException(		    "error.net.sourceforge.fenixedu.domain.accounting.postingRules.GenericWithParcialPaymentsPR.parcialPaymentEntryType.cannot.be.null");	}	if (totalAmount == null) {	    throw new DomainException(		    "error.net.sourceforge.fenixedu.domain.accounting.postingRules.GenericWithParcialPaymentsPR.totalAmount.cannot.be.null");	}    }