Package org.apache.iceberg.exceptions
Class ValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.iceberg.exceptions.ValidationException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CherrypickAncestorCommitException,DuplicateWAPCommitException
public class ValidationException extends java.lang.RuntimeExceptionException raised when validation checks fail.For example, this is thrown when attempting to create a table with a
PartitionSpecthat is not compatible with the tableSchema- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidationException(java.lang.String message, java.lang.Object... args)ValidationException(java.lang.Throwable cause, java.lang.String message, java.lang.Object... args)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcheck(boolean test, java.lang.String message, java.lang.Object... args)
-