Package net.windwards.options.err

Examples of net.windwards.options.err.AmbiguousCommandException


        for(Map.Entry<String, C> entry : this.commands.entrySet()) {
            if(this.matches(entry, cmdname)) {
                if(candidate == null) {
                    candidate = entry;
                } else {
                    throw new AmbiguousCommandException("Did you mean " +
                            entry.getKey() + " or " + candidate.getKey() + "?");
                }
            }
        }
View Full Code Here

TOP

Related Classes of net.windwards.options.err.AmbiguousCommandException

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.