All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.opitzconsulting.orcas.diff.ExecuteSqlErrorHandler Maven / Gradle / Ivy

The newest version!
package de.opitzconsulting.orcas.diff;

import java.util.function.Supplier;

import de.opitzconsulting.orcas.diff.Parameters;
import de.opitzconsulting.orcas.sql.CallableStatementProvider;

public interface ExecuteSqlErrorHandler {
    void handleExecutionError(
        RuntimeException e,
        String pSql,
        CallableStatementProvider pCallableStatementProvider,
        Parameters pParameters,
        ExecuteSqlErrorHandlerCallback pExecuteSqlErrorHandlerCallback);

    interface ExecuteSqlErrorHandlerCallback {
        void rethrow();

        void logError();

        void logInfo(String pMessage);

        String getLineReference();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy