/** * Construct a new {@code ScriptStatementFailedException}. * @param stmt the actual SQL statement that failed * @param stmtNumber the statement number in the SQL script (i.e., * the n<sup>th</sup> statement present in the resource) * @param encodedResource the resource from which the SQL statement was read * @param cause the underlying cause of the failure */ public ScriptStatementFailedException(String stmt, int stmtNumber, EncodedResource encodedResource, Throwable cause) { super(buildErrorMessage(stmt, stmtNumber, encodedResource), cause); }
if (continueOnError || (dropStatement && ignoreFailedDrops)) { if (logger.isDebugEnabled()) { logger.debug(ScriptStatementFailedException.buildErrorMessage(statement, stmtNumber, resource), ex);
/** * Construct a new {@code ScriptStatementFailedException}. * @param stmt the actual SQL statement that failed * @param stmtNumber the statement number in the SQL script (i.e., * the n<sup>th</sup> statement present in the resource) * @param encodedResource the resource from which the SQL statement was read * @param cause the underlying cause of the failure */ public ScriptStatementFailedException(String stmt, int stmtNumber, EncodedResource encodedResource, Throwable cause) { super(buildErrorMessage(stmt, stmtNumber, encodedResource), cause); }
if (continueOnError || (dropStatement && ignoreFailedDrops)) { if (logger.isDebugEnabled()) { logger.debug(ScriptStatementFailedException.buildErrorMessage(statement, stmtNumber, resource), ex);