Class FieldNameConflictException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.ignite.migrationtools.sql.FieldNameConflictException
- All Implemented Interfaces:
Serializable
Defines a situation when it was not possible to assign a field name due to a conflict with other fields.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFieldNameConflictException(InspectedField inspectedField, Set<String> knownFieldNames) -
Method Summary
Modifier and TypeMethodDescriptionstatic FieldNameConflictExceptionforSpecificField(String label, String fieldName) static FieldNameConflictExceptionforSpecificField(String fieldName, String expectedValue, String foundValue) static FieldNameConflictExceptionforUnknownType(String fieldName, String fieldType) Creates an exception for an Unknown conflict type.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FieldNameConflictException
-
-
Method Details
-
forSpecificField
public static FieldNameConflictException forSpecificField(String fieldName, String expectedValue, String foundValue) -
forSpecificField
-
forUnknownType
Creates an exception for an Unknown conflict type.- Parameters:
fieldName- Field name.fieldType- Field type.- Returns:
- The created exception.
-