Module eclipselink
Class TableValidationException.SurplusColumns
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.persistence.tools.schemaframework.TableValidationException
org.eclipse.persistence.tools.schemaframework.TableValidationException.SurplusColumns
- All Implemented Interfaces:
Serializable
- Enclosing class:
TableValidationException
Thrown when database table validation fails with one or more table's surplus columns in the database.
This
TableValidationException
specific subtype is matching the TableValidationException.ValidationFailure.SURPLUS_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 surplus database columns names.<T extends TableValidationException>
TUnwrapTableValidationException
as specific subtype.Methods inherited from class org.eclipse.persistence.tools.schemaframework.TableValidationException
getFailure, getTable
Methods 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 surplus database columns names.- Returns:
- surplus columns names
-
unwrap
Description copied from class:TableValidationException
UnwrapTableValidationException
as specific subtype. The specificTableValidationException
subtype depends on theTableValidationException.ValidationFailure
type.- Specified by:
unwrap
in classTableValidationException
- Type Parameters:
T
- theTableValidationException
subtype class- Parameters:
cls
- theTableValidationException
specific subtype matching theTableValidationException.ValidationFailure
type.- Returns:
- the
TableValidationException
cast to the specific subtype
-