Package org.jreform

Examples of org.jreform.DuplicateNameException


    <T> void add(InputControl<T> input)
    {
        String name = input.getInputName();
       
        if(inputs.containsKey(name))
            throw new DuplicateNameException(
                "Duplicate input name within the same form: " + name);
       
        inputs.put(name, input);
    }
View Full Code Here


    final void addGroup(Group group)
    {
        String name = group.getName();
       
        if(groups.containsKey(name))
            throw new DuplicateNameException(
                "Duplicate group name within the same form: " + name);
       
        groups.put(name, group);
    }
View Full Code Here

TOP

Related Classes of org.jreform.DuplicateNameException

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.