Package com.github.joschi.jadconfig

Examples of com.github.joschi.jadconfig.ValidationException


    }

    @ValidatorMethod
    public void validate() throws ValidationException {
        if (isMongoUseAuth() && (isNullOrEmpty(getMongoUser()) || isNullOrEmpty(getMongoPassword()))) {
            throw new ValidationException("mongodb_user and mongodb_password have to be set if mongodb_useauth is true");
        }
    }
View Full Code Here

TOP

Related Classes of com.github.joschi.jadconfig.ValidationException

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.