Package org.apache.empire.exceptions

Examples of org.apache.empire.exceptions.UnexpectedReturnValueException


        // Perform delete
        String sqlCmd = cmd.getDelete(this);
        int affected  = db.executeSQL(sqlCmd, cmd.getParamValues(), conn);
        if (affected < 0)
        { // Delete Failed
            throw new UnexpectedReturnValueException(affected, "db.executeSQL()");
        }
        else if (affected == 0)
        { // Record not found
            throw new RecordDeleteFailedException(this, key);
        }
View Full Code Here

TOP

Related Classes of org.apache.empire.exceptions.UnexpectedReturnValueException

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.