Package org.apache.iceberg.exceptions
Class CherrypickAncestorCommitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.iceberg.exceptions.ValidationException
org.apache.iceberg.exceptions.CherrypickAncestorCommitException
- All Implemented Interfaces:
Serializable
,CleanableFailure
This exception occurs when one cherrypicks an ancestor or when the picked snapshot is already
linked to a published ancestor. This additionally helps avoid duplicate cherrypicks on non-WAP
snapshots.
- See Also:
-
Constructor Summary
ConstructorDescriptionCherrypickAncestorCommitException
(long snapshotId) CherrypickAncestorCommitException
(long snapshotId, long publishedAncestorId) -
Method Summary
Methods inherited from class org.apache.iceberg.exceptions.ValidationException
check
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CherrypickAncestorCommitException
public CherrypickAncestorCommitException(long snapshotId) -
CherrypickAncestorCommitException
public CherrypickAncestorCommitException(long snapshotId, long publishedAncestorId)
-