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:
Serializable
,CleanableFailure
- Direct Known Subclasses:
CherrypickAncestorCommitException
,DuplicateWAPCommitException
Exception which is raised when the arguments are valid in isolation, but not in conjunction with
other arguments or state, as opposed to
IllegalArgumentException
which is raised when an
argument value is always invalid.
A ValidationException will cause the operation to abort.
For example, this is thrown when attempting to create a table with a PartitionSpec
that is not compatible with the table Schema
- See Also:
-
Constructor Summary
ConstructorDescriptionValidationException
(String message, Object... args) ValidationException
(Throwable cause, String message, Object... args) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ValidationException
-
ValidationException
-
-
Method Details
-
check
-