Package org.wso2.carbon.dataservices.core.engine

Examples of org.wso2.carbon.dataservices.core.engine.DataService.rollbackTransaction()


        } catch (RegistryException e) {
            String errorMsg = "Could not move the resource at "+ sourcePath + " to " + targetPath;
            log.error(errorMsg, e);
            // rollback
            try {
                registry.rollbackTransaction();

            } catch (RegistryException e1) {
                errorMsg = "Failed to rollback moving the resource at " + sourcePath + " to " + targetPath;
                log.error(errorMsg, e1);
                throw e1;
View Full Code Here


        } catch (RegistryException e) {
            String errorMsg = "Could not delete resource at "+ resourcePath;
            log.error(errorMsg, e);
            // rollback
            try {
                registry.rollbackTransaction();

            } catch (RegistryException e1) {
                errorMsg = "Failed to rollback the transaction in registry path " + resourcePath;
                log.error(errorMsg, e1);
                throw e1;
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.