Package org.openengsb.core.edb.api

Examples of org.openengsb.core.edb.api.EDBCheckException


        }
        for (String delete : deleteFails) {
            builder.append("Object with the oid ").append(delete).append(" doesn't exists/is deleted. ");
        }
        if (builder.length() != 0) {
            EDBCheckException checkException = new EDBCheckException(builder.toString());
            checkException.setFailedInserts(EDBUtils.convertJPAObjectsToEDBObjects(insertFails));
            checkException.setFailedUpdates(EDBUtils.convertJPAObjectsToEDBObjects(updateFails));
            checkException.setFailedDeletes(deleteFails);
            throw checkException;
        }
    }
View Full Code Here

TOP

Related Classes of org.openengsb.core.edb.api.EDBCheckException

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.