Package org.mongodb.morphia.mapping.validation.ConstraintViolation

Examples of org.mongodb.morphia.mapping.validation.ConstraintViolation.Level


            }
        }

        if (!ve.isEmpty()) {
            final ConstraintViolation worst = ve.iterator().next();
            final Level maxLevel = worst.getLevel();
            if (maxLevel.ordinal() >= Level.FATAL.ordinal()) {
                throw new ConstraintViolationException(ve);
            }

            // sort by class to make it more readable
            final List<LogLine> l = new ArrayList<LogLine>();
View Full Code Here

TOP

Related Classes of org.mongodb.morphia.mapping.validation.ConstraintViolation.Level

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.