Examples of JmsProviderStoreException


Examples of org.jitterbit.integration.jms.provider.JmsProviderStoreException

    public void storeUserDefinedProvider(JmsProvider provider) throws JmsProviderStoreException {
        if (!provider.isUserDefined()) {
            throw new IllegalArgumentException("provider.isUserDefined() must be true");
        }
        if (!isProviderIdAvailable(provider)) {
            throw new JmsProviderStoreException("A system provider with the name " +
                            provider.getName() + " already exists and cannot be replaced. " +
                            "Please choose another name.");
        }
        getUserDefinedProviderStore().addProvider(provider);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.