Module eclipselink
Class TableValidationException.MissingColumns
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.persistence.tools.schemaframework.TableValidationException
org.eclipse.persistence.tools.schemaframework.TableValidationException.MissingColumns
- All Implemented Interfaces:
Serializable
- Enclosing class:
TableValidationException
Thrown when database table validation fails with one or more table's columns missing in the database.
This
TableValidationException specific subtype is matching the TableValidationException.ValidationFailure.MISSING_COLUMNS type.- See Also:
-
Nested Class Summary
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 the missing database columns names.<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
-
getColumns
List of the missing database columns names.- Returns:
- missing columns names
-
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
-