Package org.zkoss.util

Examples of org.zkoss.util.InvalidValueException


        return save();
    }

    private void validate() throws InvalidValueException {
        if (!validateDataForm()) {
            throw new InvalidValueException(_("values are not valid, the values must not be null"));
        }
        if (!validateReportGlobalAdvance()) {
            throw new InvalidValueException(_("Invalid Spread values. At least one value should be true"));
        }
    }
View Full Code Here


    @Override
    @Transactional
    public void confirmDelete(CalendarExceptionType exceptionType) throws InstanceNotFoundException, InvalidValueException {
        if (calendarExceptionTypeDAO.hasCalendarExceptions(exceptionType)) {
            throw new InvalidValueException(_("Cannot remove {0}, since it is being used by some exception day", exceptionType.getName()));
        }
        if (!exceptionType.isNewObject()) {
            calendarExceptionTypeDAO.remove(exceptionType.getId());
        }
    }
View Full Code Here

TOP

Related Classes of org.zkoss.util.InvalidValueException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.