se.fortnox.reactivewizard.db.statement.MinimumAffectedRowsException Maven / Gradle / Ivy
package se.fortnox.reactivewizard.db.statement;
import java.sql.SQLException;
/**
* Thrown when a query does not meet the expected minimum affected rows result.
*/
public class MinimumAffectedRowsException extends SQLException {
public MinimumAffectedRowsException(int minimumAffected, int updateCount, String query) {
super("Minimum affected rows not reached for query \"" + query + "\". \n"
+ "Minimum: " + minimumAffected + " actual: " + updateCount);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy