Interface ErrorHandler
-
@Deprecated public interface ErrorHandler
Deprecated.ErrorHandlers have been deprecated and will be removed in Flyway 6.0 use statement-level callbacks instead.Handler for warnings and errors that occur during a migration. This can be used to customize Flyway's behavior by for example throwing another runtime exception, outputting a warning or suppressing the error instead of throwing a FlywayException.Flyway Pro and Flyway Enterprise only
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleanhandle(Context context)Deprecated.Handles warnings and errors that occurred during a migration.
-
-
-
Method Detail
-
handle
boolean handle(Context context)
Deprecated.Handles warnings and errors that occurred during a migration.- Parameters:
context- The context.- Returns:
trueif they were handled,falseif they weren't and Flyway should fall back to its default handling.
-
-