Package net.windwards.dnsfrontend.api

Examples of net.windwards.dnsfrontend.api.NoSuchDomainException


    @Override
    public String monikerFromName(Name domain) throws NoSuchDomainException {
        DomainConfiguration conf = this.domains.get(domain.toString());
        if (conf == null)
            throw new NoSuchDomainException("Unknown domain " + domain.toString());
        return conf.moniker;
    }
View Full Code Here


            @Override
            public Backend lookup(int type) {
                return new TestingBackend(new LinkedList<Record>()) {
                    @Override
                    public void notify(Record query) throws NoSuchDomainException {
                        throw new NoSuchDomainException("BOOM");
                    }
                };
            }
            @Override public void stop() {}
        });
View Full Code Here

TOP

Related Classes of net.windwards.dnsfrontend.api.NoSuchDomainException

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.