Package org.projectnessie.error
Class NessieReferenceConflictException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.projectnessie.error.BaseNessieClientServerException
org.projectnessie.error.NessieConflictException
org.projectnessie.error.NessieReferenceConflictException
- All Implemented Interfaces:
Serializable,ErrorCodeAware
This exception is thrown when the expected state of a reference (e.g. the hash of the HEAD of a
branch) does not match the hash provided by the caller or when the requested operation could not
be completed within the configured time and number of retries due to concurrent operations.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNessieReferenceConflictException(String message) NessieReferenceConflictException(String message, Throwable cause) NessieReferenceConflictException(ReferenceConflicts referenceConflicts, String message, Throwable cause) -
Method Summary
Methods inherited from class org.projectnessie.error.BaseNessieClientServerException
getServerStackTrace, getStatusMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NessieReferenceConflictException
public NessieReferenceConflictException(ReferenceConflicts referenceConflicts, String message, Throwable cause) -
NessieReferenceConflictException
-
NessieReferenceConflictException
-
NessieReferenceConflictException
-
-
Method Details
-
getErrorCode
- Specified by:
getErrorCodein interfaceErrorCodeAware- Overrides:
getErrorCodein classBaseNessieClientServerException
-
getErrorDetails
-