Package org.flywaydb.core.api
Enum ErrorCode
- java.lang.Object
-
- java.lang.Enum<ErrorCode>
-
- org.flywaydb.core.api.ErrorCode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIGURATION
DB_CONNECTION
DUPLICATE_REPEATABLE_MIGRATION
DUPLICATE_UNDO_MIGRATION
DUPLICATE_VERSIONED_MIGRATION
ERROR
FAULT
JDBC_DRIVER
-
-
-
Enum Constant Detail
-
FAULT
public static final ErrorCode FAULT
-
ERROR
public static final ErrorCode ERROR
-
JDBC_DRIVER
public static final ErrorCode JDBC_DRIVER
-
DB_CONNECTION
public static final ErrorCode DB_CONNECTION
-
DUPLICATE_VERSIONED_MIGRATION
public static final ErrorCode DUPLICATE_VERSIONED_MIGRATION
-
DUPLICATE_REPEATABLE_MIGRATION
public static final ErrorCode DUPLICATE_REPEATABLE_MIGRATION
-
DUPLICATE_UNDO_MIGRATION
public static final ErrorCode DUPLICATE_UNDO_MIGRATION
-
CONFIGURATION
public static final ErrorCode CONFIGURATION
-
-
Method Detail
-
values
public static ErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-