Module eclipselink
Class TableValidationException.DifferentColumns
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.persistence.tools.schemaframework.TableValidationException
org.eclipse.persistence.tools.schemaframework.TableValidationException.DifferentColumns
- All Implemented Interfaces:
Serializable
- Enclosing class:
TableValidationException
public static final class TableValidationException.DifferentColumns
extends TableValidationException
Thrown when database table validation fails with one or more table's columns have different definition in the database.
This
TableValidationException specific subtype is matching the TableValidationException.ValidationFailure.DIFFERENT_COLUMNS type.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classColumn difference description.static classstatic enumType of the difference.static classColumn type difference description.Nested classes/interfaces inherited from class org.eclipse.persistence.tools.schemaframework.TableValidationException
TableValidationException.DifferentColumns, TableValidationException.MissingColumns, TableValidationException.MissingTable, TableValidationException.SurplusColumns, TableValidationException.ValidationFailure -
Method Summary
Modifier and TypeMethodDescriptionList of columns differences description.<T extends TableValidationException>
TUnwrapTableValidationExceptionas specific subtype.Methods inherited from class org.eclipse.persistence.tools.schemaframework.TableValidationException
getFailure, getTableMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getDifferences
List of columns differences description.- Returns:
- columns differences description
-
unwrap
Description copied from class:TableValidationExceptionUnwrapTableValidationExceptionas specific subtype. The specificTableValidationExceptionsubtype depends on theTableValidationException.ValidationFailuretype.- Specified by:
unwrapin classTableValidationException- Type Parameters:
T- theTableValidationExceptionsubtype class- Parameters:
cls- theTableValidationExceptionspecific subtype matching theTableValidationException.ValidationFailuretype.- Returns:
- the
TableValidationExceptioncast to the specific subtype
-