Package org.sdnplatform.sync.error

Examples of org.sdnplatform.sync.error.UnknownStoreException


    @Override
    public void addListener(String storeName, MappingStoreListener listener)
            throws UnknownStoreException {
        ListenerStorageEngine store = localStores.get(storeName);
        if (store == null)
            throw new UnknownStoreException("Store " + storeName +
                                            " has not been registered");
        store.addListener(listener);
    }
View Full Code Here


    protected SynchronizingStorageEngine getStoreInternal(String storeName)
            throws UnknownStoreException {
        SynchronizingStorageEngine store = storeRegistry.get(storeName);
        if (store == null) {
            throw new UnknownStoreException("Store " + storeName +
                                            " has not been registered");
        }
        return store;
    }
View Full Code Here

TOP

Related Classes of org.sdnplatform.sync.error.UnknownStoreException

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.