Package com.foundationdb.server.error

Examples of com.foundationdb.server.error.ServiceNotStartedException


    @Override
    public void stop() {
        synchronized (MONITOR) {
            if (ddlFunctions == null) {
                throw new ServiceNotStartedException("DDL Functions stop");
            }
            ddlFunctions = null;
            dmlFunctions = null;
        }
    }
View Full Code Here


    @Override
    public DDLFunctions ddlFunctions() {
        final DDLFunctions ret = ddlFunctions;
        if (ret == null) {
            throw new ServiceNotStartedException("DDL Functions");
        }
        return ret;
    }
View Full Code Here

    @Override
    public DMLFunctions dmlFunctions() {
        final DMLFunctions ret = dmlFunctions;
        if (ret == null) {
            throw new ServiceNotStartedException("DML Functions");
        }
        return ret;
    }
View Full Code Here

    }

    private Map<String, String> internalGetProperties() {
        final Map<String, String> ret = properties;
        if (ret == null) {
            throw new ServiceNotStartedException("Configuration");
        }
        return ret;
    }
View Full Code Here

    // for use by this class

    private static ServiceManager installed() {
        ServiceManager sm = instance.get();
        if (sm == null) {
            throw new ServiceNotStartedException("services haven't been started");
        }
        return sm;
    }
View Full Code Here

TOP

Related Classes of com.foundationdb.server.error.ServiceNotStartedException

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.